Fix HTTPS redirect hostname

This commit is contained in:
Jake Howard
2023-12-21 14:58:19 +00:00
parent 80a770f399
commit a7eb372899

View File

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