Ensure gifs URLs are also rewritten, as AA loads gifs
This commit is contained in:
parent
4bba71fbf7
commit
93ed07d52d
1 changed files with 3 additions and 3 deletions
|
@ -133,7 +133,7 @@ class ProxyAutomation(TerraformAutomation):
|
|||
proxy_set_header Accept-Encoding "";
|
||||
proxy_ssl_server_name on;
|
||||
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 image/gif;
|
||||
subs_filter //tags.tiqcdn.com/utag/bbg/ /;
|
||||
subs_filter https://{{ origin.domain_name }}/ /;
|
||||
subs_filter "(https:)?//tags.{{ origin.normalised_domain_name }}/" / r;
|
||||
|
@ -145,7 +145,7 @@ class ProxyAutomation(TerraformAutomation):
|
|||
proxy_ssl_server_name on;
|
||||
proxy_pass https://bbg.sc.omtrdc.net/b/ss/$1;
|
||||
subs_filter_types text/html text/css text/xml application/javascript image/gif;
|
||||
subs_filter //bbg.sc.omtrdc.net/b/ss/ /;
|
||||
subs_filter //bbg.sc.omtrdc.net/ /;
|
||||
subs_filter https://{{ origin.domain_name }}/ /;
|
||||
subs_filter "(https:)?//ssc.{{ origin.normalised_domain_name }}/" / r;
|
||||
}
|
||||
|
@ -153,7 +153,7 @@ class ProxyAutomation(TerraformAutomation):
|
|||
proxy_set_header Accept-Encoding "";
|
||||
proxy_ssl_server_name on;
|
||||
proxy_pass https://{{ origin.domain_name }}/;
|
||||
subs_filter_types text/html text/css text/xml;
|
||||
subs_filter_types text/html text/css text/xml image/gif;
|
||||
subs_filter https://{{ origin.domain_name }}/ /;
|
||||
subs_filter "(https:)?//tags.{{ origin.normalised_domain_name }}/" / r;
|
||||
subs_filter "(https:)?//ssc.{{ origin.normalised_domain_name }}/" / r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue