diff --git a/nginx/files-luci-support/luci_nginx.conf b/nginx/files-luci-support/luci_nginx.conf index 2c02b48fd..31af664a2 100755 --- a/nginx/files-luci-support/luci_nginx.conf +++ b/nginx/files-luci-support/luci_nginx.conf @@ -32,12 +32,11 @@ http { gzip_comp_level 1; gzip_proxied any; - index login.html; root /www; server { - listen 88 default_server; - listen [::]:88 default_server; + listen 80 default_server; + listen [::]:80 default_server; server_name localhost; location ~* .(jpg|jpeg|png|gif|ico|css|js)$ { diff --git a/nginx/files-luci-support/luci_nginx_ssl.conf b/nginx/files-luci-support/luci_nginx_ssl.conf index c35a90d03..318453b54 100755 --- a/nginx/files-luci-support/luci_nginx_ssl.conf +++ b/nginx/files-luci-support/luci_nginx_ssl.conf @@ -32,19 +32,18 @@ http { gzip_comp_level 1; gzip_proxied any; - index login.html; root /www; server { - listen 88 default_server; - listen [::]:88 default_server; + listen 80 default_server; + listen [::]:80 default_server; server_name _; return 301 https://$host$request_uri; } server { - listen 433 ssl default_server; - listen [::]:433 ssl default_server; + listen 443 ssl default_server; + listen [::]:443 ssl default_server; server_name localhost; ssl_protocols TLSv1 TLSv1.1 TLSv1.2;