Merge pull request #162 from pagespeed/jefftk-experiment-resource-regexp
readme: support experiment resource urls
This commit is contained in:
@@ -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$" { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user