system-test: retain custom headers
This commit is contained in:
@@ -180,7 +180,9 @@ In every server block where pagespeed is enabled add:
|
||||
|
||||
# This is a temporary workaround that ensures requests for pagespeed
|
||||
# optimized resources go to the pagespeed handler.
|
||||
location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { }
|
||||
location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
|
||||
add_header "" "";
|
||||
}
|
||||
location ~ "^/ngx_pagespeed_static/" { }
|
||||
location ~ "^/ngx_pagespeed_beacon$" { }
|
||||
location /ngx_pagespeed_statistics {
|
||||
|
||||
Reference in New Issue
Block a user