Add substitution rule for tags.* in all locations
This commit is contained in:
parent
4383c4f08d
commit
e8f0f01ddf
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,8 @@ class ProxyAutomation(TerraformAutomation):
|
||||||
proxy_pass https://tags.tiqcdn.com/utag/bbg/$1/utag$2js;
|
proxy_pass https://tags.tiqcdn.com/utag/bbg/$1/utag$2js;
|
||||||
subs_filter_types text/html text/css text/xml application/javascript;
|
subs_filter_types text/html text/css text/xml application/javascript;
|
||||||
subs_filter //tags.tiqcdn.com/utag/bbg/ /;
|
subs_filter //tags.tiqcdn.com/utag/bbg/ /;
|
||||||
|
subs_filter https://{{ origin.domain_name }}/ /;
|
||||||
|
subs_filter "(https:)?//tags.{{ origin.normalised_domain_name }}/" / r;
|
||||||
}
|
}
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header Accept-Encoding "";
|
proxy_set_header Accept-Encoding "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue