Re: [webmin-l] Virtualmin Nginx Server Block
Andrey Repin <[email protected]>
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <[email protected]> |
Greetings, Kimberly! > Where can I edit the template? Virtualmin -> Server templates. > I am setting up a server for someone > else; if for me I would just manually create the server blocks but the > person this is for knows little about Nginx. > When I tried to do the http to https, I see that the module does a > rewrite; Worst possible solution. > I used Services -> Configure Nginx Website. I usually do a > return in the listen 80 block > return 301 https://$host$request_uri; I just make a single server template that incorporate two vhosts with same name. One port 80 return 301 https://$host$request_uri and one port 443 ssl. -- With best regards, Andrey Repin Thursday, May 18, 2017 21:14:59 Sorry for my terrible english... ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot - Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list