• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Question Disallow public access for ngx_pagespeed admin area

Dukemaster

Regular Pleskian
Hi,
thanks for implementing ngx_pagespeed compiled by nginx. It's necessary to provide a basic manual, because the ..example.com/pagespeed_global_admin and ..example.com/pagespeed_admin directories are open. The common way disallowing public access by
Code:
pagespeed AdminPath /pagespeed_admin;
location /ngx_pagespeed_statistics { allow 127.0.0.1; deny all; }
location /ngx_pagespeed_global_statistics { allow 127.0.0.1; deny all; }
location /ngx_pagespeed_message { allow 127.0.0.1; deny all; }
location /pagespeed_console { allow 127.0.0.1; deny all; }
location ~ ^/pagespeed_admin { allow 127.0.0.1; deny all; }
location ~ ^/pagespeed_global_admin { allow 127.0.0.1; deny all; }
seems not working. So, in the moment everybody on earth is able to purge the cache.
Section pagespeed_console is not working.

Greets
 
Back
Top