• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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