You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2021/04/03 16:53:21 UTC

[GitHub] [incubator-pagespeed-ngx] ozdemirburak commented on issue #1565: How to disable POST ngx_pagespeed_beacon?

ozdemirburak commented on issue #1565:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1565#issuecomment-812892800


   I tried both configurations, but none of them works for nginx. @oschaaf, I'd be grateful if you can provide a better solution for nginx.
   
   ```nginx
   pagespeed CriticalImagesBeaconEnabled false;
   pagespeed DisableFilters lazyload_images;
   pagespeed DisableFilters inline_images;
   pagespeed DisableFilters inline_preview_images;
   pagespeed DisableFilters rewrite_images;
   
   # location ~ "^/ngx_pagespeed_beacon$" { }
   location ~ "^/ngx_pagespeed_beacon$" { deny all; }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org