• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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