feat(proxy): use route53 for smart proxy dns
This commit is contained in:
parent
d6e44cdc0a
commit
aec4c48842
2 changed files with 3 additions and 37 deletions
|
@ -116,7 +116,7 @@ class ProxyAutomation(TerraformAutomation):
|
|||
{% for origin in origins %}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name origin-{{ origin.id }}.{{ provider }}.smart.{{ smart_zone[:-1] }};
|
||||
server_name origin-{{ origin.id }}.{{ smart_zone[:-1] }};
|
||||
location / {
|
||||
proxy_set_header Accept-Encoding "";
|
||||
proxy_ssl_server_name on;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue