smart_proxy: handle links to origin domain without trailing slash
This commit is contained in:
parent
f828d1779b
commit
7bc38d10be
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ class ProxyAutomation(TerraformAutomation):
|
|||
proxy_pass https://{{ origin.domain_name }}/;
|
||||
subs_filter_types text/html text/css text/xml;
|
||||
subs_filter https://{{ origin.domain_name }}/ /;
|
||||
subs_filter "\"https://{{ origin.domain_name }}\"" /;
|
||||
}
|
||||
ssl_certificate /etc/ssl/smart_proxy.crt;
|
||||
ssl_certificate_key /etc/ssl/private/smart_proxy.key;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue