Fix HTTPS redirect hostname

This commit is contained in:
Jake Howard 2023-12-21 14:58:19 +00:00
parent 80a770f399
commit a7eb372899
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 1 additions and 1 deletions

View File

@ -2,5 +2,5 @@ server {
listen 80;
server_name _;
access_log off;
return 308 https://$server_name$request_uri;
return 308 https://$host$request_uri;
}