SatelliteWP / rocket-nginx

Rocket-Nginx is a Nginx configuration that makes WP-Rocket even faster by serving static pages directly without loading WordPress or PHP.
MIT License
579 stars 129 forks source link

No file located #194

Closed kevin25 closed 1 year ago

kevin25 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

set $rocket_debug 1; but nothing shows up.

Screen Shot 2023-05-05 at 22 38 25

I'm using

nginx version: nginx/1.23.1

Versions What version of Nginx are you using ? What version of Rocket-Nginx are you using ? What version of WP Rocket are you using ? Are you using Nginx as a reverse proxy (with Apache for instance) ?

To Reproduce Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Did you activate the debug in Rocket-Nginx ? Please do and include any headers.

Make sure you include ALL Nginx configuration files you are using. Remove any sensitive information before submitting.

Expected behavior A clear and concise description of what you expected to happen.

Additional context Add any other context about the problem here.

maximejobin commented 1 year ago

Looking at your screenshot, there is no sign of Rocket-Nginx (and there should be no matter if you activate debug or not).

It seems that you: 1) Maybe did not generate the configuration with rocket-parser.php 2) Maybe did not include your generated configuration at the right place in your Nginx configuration 3) Maybe did not reload Nginx's configuration (ex: service nginx reload)

kevin25 commented 1 year ago

I'm using WooCommerce. I can see it when admin is logged. I can't see it when i'm browsing as guest.

maximejobin commented 1 year ago

I can see it when admin is logged.

What can you see?

If you cannot see any Rocket-Nginx header, it means the script is not installed or configured properly.