simplify redirect statement

This commit is contained in:
Markus 2024-10-06 17:18:20 +02:00
parent 5a516d2a9e
commit 21efe29341
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ server {
} }
location / { location / {
return 301 https://{{ netbox_domain }}$request_uri; return 301 https://$host$request_uri;
} }
} }

View File

@ -10,7 +10,7 @@ server {
} }
location / { location / {
return 301 https://{{ tileserver_domain }}$request_uri; return 301 https://$host$request_uri;
} }
} }