Rewrites on nginx always 403 Forbidden
-
In Rewrite mode, I copied the code to my appropriate nginx configuration file, ‘nginx -t’ confirmed it was ok. I then reloaded the nginx configuration and eventually restarted the server.
Everything seems to work except for rewrites, they just return 403 errors.
I’d really like to get this working, at first test it seems like the fastest caching plugin I’ve tried.
When I look at the error.log, I see:
2015/09/10 20:31:25 [error] 19178#0: *3736 directory index of “/var/www/mydomain.com/html/sitemap/” is forbidden, client
: 1.11.111.222, server: mydomain.com, request: “GET /sitemap/ HTTP/1.1”, host: “mydomain.com”
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Rewrites on nginx always 403 Forbidden’ is closed to new replies.