use servername instead of hard coded domain.

This commit is contained in:
2023-08-01 23:24:35 +00:00
parent 05518d7034
commit 34845817af
+1 -1
View File
@@ -42,5 +42,5 @@ server {
server_tokens off; # prevent nginx server detection
return 301 https://<DOMAIN>$request_uri;
return 301 https://$server_name$request_uri;
}