From: Kimberly <kim...@gm...> - 2017-05-18 14:32:46
|
Where can I edit the template? 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; I used Services -> Configure Nginx Website. I usually do a return in the listen 80 block return 301 https://$host$request_uri; Thanks. On 5/18/2017 9:18 AM, Andrey Repin wrote: > Greetings, Kimberly! > >> I don't understand the way Virtualmin is creating Nginx server blocks. >> When I do an SSL site, I write two blocks, one for port 80, one for port >> 443 and in the port 80. > Eh? An example please? > >> Virtualmin is not. The other question is how is >> Virtualmin handling http to https? > It does not, everything is under your control. You can edit templates to your > heart's content. > > |