Fix HTTPS redirect hostname
This commit is contained in:
parent
80a770f399
commit
a7eb372899
1 changed files with 1 additions and 1 deletions
|
@ -2,5 +2,5 @@ server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name _;
|
server_name _;
|
||||||
access_log off;
|
access_log off;
|
||||||
return 308 https://$server_name$request_uri;
|
return 308 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue