smart proxy: avoid duplicating
This commit is contained in:
parent
9cecd20f98
commit
2823033e67
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class ProxyAutomation(TerraformAutomation):
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name origin-{{ origin.id }}.{{ provider }}.smart.{{ smart_zone[:-1] }};
|
server_name origin-{{ origin.id }}.{{ provider }}.smart.{{ smart_zone[:-1] }};
|
||||||
if ($redirect_country = yes) {
|
if ($redirect_country = yes) {
|
||||||
rewrite ^ https://{{ origin.domain_name }}$request_uri break;
|
rewrite ^ https://{{ origin.domain_name }}$request_uri? break;
|
||||||
}
|
}
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header Accept-Encoding "";
|
proxy_set_header Accept-Encoding "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue