system-test: retain custom headers

This commit is contained in:
Jeff Kaufman
2013-04-04 16:31:49 -04:00
parent 60ba55064f
commit 637e0c8fb9
3 changed files with 23 additions and 1 deletions
+3 -1
View File
@@ -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 {