• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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