From: Andrey R. <anr...@ya...> - 2017-05-18 18:20:33
|
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... |