proxy/azure_cdn: the origin has the smart requirement
This commit is contained in:
parent
5b503da621
commit
c0a0474fbf
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class ProxyAzureCdnAutomation(ProxyAutomation):
|
|||
location = "{{ azure_location }}"
|
||||
resource_group_name = data.azurerm_resource_group.this.name
|
||||
|
||||
{% if proxy.smart %}
|
||||
{% if proxy.origin.smart %}
|
||||
origin_host_header = "origin-{{ proxy.origin.id }}.cloudfront.smart.{{ smart_zone[:-1] }}"
|
||||
|
||||
origin {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue