smart_proxy: handle links to origin domain without trailing slash

This commit is contained in:
Iain Learmonth 2022-05-25 10:46:48 +01:00
parent f828d1779b
commit 7bc38d10be

View file

@ -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;