SSL disabled due addition of RPROXY

This commit is contained in:
Gerard 2018-11-29 11:56:12 +01:00
parent 3ef80f3be8
commit cc75023771
1 changed files with 1 additions and 9 deletions

View File

@ -16,15 +16,7 @@ http {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
ssl_certificate /config/nginx/cert.pem;
ssl_certificate_key /config/nginx/key.pem;
server_name {{host}};
autoindex off;
autoindex off;
root /usr/share/nginx/html;