Fix server_name for 80 > 433 rediret

This commit is contained in:
andryyy 2017-03-22 15:48:31 +01:00
parent 78f75deccb
commit 23cb056ec5

View File

@ -215,7 +215,7 @@ Open `data/conf/nginx/site.conf` and add a new "catch-all" site at the top of th
``` ```
server { server {
listen 80 default_server; listen 80 default_server;
server_name _; include /etc/nginx/conf.d/server_name.active;
return 301 https://$host$request_uri; return 301 https://$host$request_uri;
} }
``` ```