smart proxy: fixups
This commit is contained in:
parent
9718dbc297
commit
f41adc3ce6
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ class ProxyAutomation(TerraformAutomation):
|
|||
server {
|
||||
listen 443 ssl;
|
||||
server_name origin-{{ origin.id }}.{{ provider }}.smart.{{ smart_zone[:-1] }};
|
||||
if ($redirect_country = no) {
|
||||
if ($redirect_country = yes) {
|
||||
rewrite ^ https://{{ origin.domain_name }}$request_uri break;
|
||||
}
|
||||
location / {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue