roles/nginx/application: Fixed global forwarding to https

wip
Felix Stupp 6 years ago
parent 097ff3d743
commit 7e56f8ada5
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -69,8 +69,10 @@ http {
listen 80 default_server; listen 80 default_server;
listen [::]:80 default_server; listen [::]:80 default_server;
include {{ nginx_snippets_directory }}/acme; include {{ nginx_snippets_directory }}/acme;
location / {
return 301 https://$host$request_uri; return 301 https://$host$request_uri;
} }
}
## ##
# Virtual Host Configs # Virtual Host Configs

Loading…
Cancel
Save