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

wp-admin 403 error #201

Closed wurkagency closed 1 year ago

wurkagency commented 1 year ago

Describe the bug When using the script, /wp-admin becomes inaccessible with a NGINX 403 error.

Versions Nginx Rocket-Nginx: v.3 WP Rocket: v.3.15.1 Nginx Setup: Reverse Proxy

To Reproduce Implement and vóila.

Configuration / source NGINX config latest source as per yesterday.

Expected behavior Working administration :)

maximejobin commented 1 year ago

Unfortunately, the problem you are describing has nothing to do with Rocket-Nginx.

The configuration serves a file from cache only if it exists. Otherwise, it does nothing. The wp-admin is never put in cache by WP Rocket (or any other caching plugin I know).

The problem is somewhere else.