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

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;
}