feat(nginx): No redirection to HTTPS by default.

Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
Rajesh Rajendran 2021-05-17 21:46:37 +05:30
parent f429028604
commit 085bf4ae5c

View file

@ -110,8 +110,8 @@ data:
listen 80 default_server;
listen [::]:80 default_server;
# server_name _;
return 301 https://$host$request_uri;
# include /etc/nginx/conf.d/location.list;
# return 301 https://$host$request_uri;
include /etc/nginx/conf.d/location.list;
}
server {
listen 443 ssl;