Comment out some of the AA config, make AA load directly 3rd party
This commit is contained in:
parent
93ed07d52d
commit
07416771f0
1 changed files with 12 additions and 9 deletions
|
@ -138,17 +138,20 @@ class ProxyAutomation(TerraformAutomation):
|
||||||
subs_filter https://{{ origin.domain_name }}/ /;
|
subs_filter https://{{ origin.domain_name }}/ /;
|
||||||
subs_filter "(https:)?//tags.{{ origin.normalised_domain_name }}/" / r;
|
subs_filter "(https:)?//tags.{{ origin.normalised_domain_name }}/" / r;
|
||||||
subs_filter "(https:)?//ssc.{{ origin.normalised_domain_name }}/" / r;
|
subs_filter "(https:)?//ssc.{{ origin.normalised_domain_name }}/" / r;
|
||||||
|
subs_filter ssc.{{ origin.normalised_domain_name }} bbg.sc.omtrdc.net;
|
||||||
|
|
||||||
}
|
}
|
||||||
location ~ /b/ss/(.+)$ {
|
# This configuration block is commented out while we work on a solution with the analytics team
|
||||||
proxy_set_header Accept-Encoding "";
|
# from USAGM
|
||||||
proxy_ssl_server_name on;
|
# location ~ /b/ss/(.+)$ {
|
||||||
proxy_pass https://bbg.sc.omtrdc.net/b/ss/$1;
|
# proxy_set_header Accept-Encoding "";
|
||||||
subs_filter_types text/html text/css text/xml application/javascript image/gif;
|
# proxy_ssl_server_name on;
|
||||||
subs_filter //bbg.sc.omtrdc.net/ /;
|
# proxy_pass https://bbg.sc.omtrdc.net/b/ss/$1;
|
||||||
subs_filter https://{{ origin.domain_name }}/ /;
|
# subs_filter_types text/html text/css text/xml application/javascript image/gif;
|
||||||
subs_filter "(https:)?//ssc.{{ origin.normalised_domain_name }}/" / r;
|
# subs_filter //bbg.sc.omtrdc.net/ /;
|
||||||
}
|
# subs_filter https://{{ origin.domain_name }}/ /;
|
||||||
|
# subs_filter "(https:)?//ssc.{{ origin.normalised_domain_name }}/" / r;
|
||||||
|
# }
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header Accept-Encoding "";
|
proxy_set_header Accept-Encoding "";
|
||||||
proxy_ssl_server_name on;
|
proxy_ssl_server_name on;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue