forked from FF-RGB/ansible
simplify redirect statement
This commit is contained in:
parent
5a516d2a9e
commit
21efe29341
@ -10,7 +10,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://{{ netbox_domain }}$request_uri;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://{{ tileserver_domain }}$request_uri;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user