Merge pull request #162 from pagespeed/jefftk-experiment-resource-regexp

readme: support experiment resource urls
This commit is contained in:
Jeff Kaufman
2013-02-01 06:42:53 -08:00
+1 -1
View File
@@ -143,7 +143,7 @@ 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]{2}\.[^.]{10}\.[^.]+" { }
location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { }
location ~ "^/ngx_pagespeed_static/" { }
location ~ "^/ngx_pagespeed_beacon$" { }