nginx: make sure https redirect works

This commit is contained in:
2021-06-21 11:28:36 +02:00
parent 53570a1f08
commit 8175a62c0b
4 changed files with 9 additions and 7 deletions

View File

@ -1,7 +1,7 @@
server {
listen 80;
server_name auth.{{ base_domain }};
return 301 https://$host$request_uri;
listen 80;
return 301 https://$server_name$request_uri;
}
server {