Hi @nutritionnew
Sorry for the misunderstanding! I am afraid we don't have a guide that shows how to access the admin console for PageSpeed in NGINX. However, you can add the following to the server block of the /opt/bitnami/nginx/conf/bitnami/bitnami.conf
file:
pagespeed Statistics on;
pagespeed AdminPath /pagespeed_admin;
location ~ ^/pagespeed_admin {
allow 127.0.0.1;
deny all;
#allow all;
}
Bear in mind that with this settings you will only have access to the admin console (and statistics) using 127.0.0.1 . You may opt to disable this security feature by uncommenting the allow all
statement and commenting the allow 127.0.0.1: deny all;
one.
If you only want to check that you have PageSpeed
enabled, you can run the following command:
$ curl -I YOUR_IP
HTTP/1.1 200 OK
Server: nginx/1.18.0
...
X-Page-Speed: 1.13.35.2-0 <-- PageSpeed is enabled
Best regards,
Jose Antonio Carmona
Was my answer helpful? Click on 