Submitted by Lucian on Thu, 12/01/2016 - 11:43
Hello,
Going to "System Settings > Server Templates" I notice the "Nginx website" section is completely missing. Until this gets implemented, if ever, how could I work arund it from the command line?
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 12/01/2016 - 23:03 Comment #1
What Nginx-specific template options are you wanting to change?
Submitted by Lucian on Mon, 12/12/2016 - 07:22 Comment #2
Well, for example on the server I am dealing with now we host mostly Magento or Wordpress which require the following config:
location / { try_files $uri $uri/ /index.php?$args; }
Submitted by JamieCameron on Mon, 12/12/2016 - 15:08 Comment #3
You can define new directives for Nginx websites, at System Settings -> Features and Plugins, via the Config link next to the Nginx Website feature.
Submitted by Lucian on Tue, 12/13/2016 - 02:49 Comment #4
Thanks, that far I managed to get, as well. Any chance we'll see proper support for Nginx in the Templates the same as we have for Apache httpd?
Lucian
Submitted by JamieCameron on Tue, 12/13/2016 - 16:20 Comment #5
I'll look into making this settable at the template level.
Submitted by Lucian on Wed, 12/14/2016 - 04:40 Comment #6
Thank you!
Submitted by JamieCameron on Tue, 12/27/2016 - 16:36 Comment #7
This has been implemented, and will be included in the 2.1 release of the Nginx plugin.
Submitted by JamieCameron on Tue, 12/27/2016 - 16:36 Comment #8
Submitted by Anonymous on Tue, 01/10/2017 - 16:46 Comment #9
Automatically closed - issue fixed for 2 weeks with no activity.
Submitted by Kintaro on Thu, 02/23/2017 - 08:46 Comment #10
Actually theres only "Adding Nginx config directives" under "Plugin options". As for Apache I would like to be able to create a configuration template for NGINX too.
Submitted by JamieCameron on Thu, 02/23/2017 - 23:39 Comment #11
Which version of the Nginx plugin do you have installed there?
Submitted by Kintaro on Fri, 02/24/2017 - 04:30 Comment #12
webmin-virtualmin-nginx 2.1 all Webmin module for 'Nginx Webserver'
Submitted by Kintaro on Fri, 02/24/2017 - 04:32 Comment #13
or maybe that "Adding Nginx config directives" under "Plugin options" is from a 3rd party plugin I'm using? :-/
Submitted by Kintaro on Mon, 06/26/2017 - 02:50 Comment #14
another request about this is here: https://virtualmin.com/comment/777238#comment-777238