TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.33k stars 721 forks source link

error documents not working #137

Closed boindil closed 7 months ago

boindil commented 10 months ago

The chmod on /var/lib/nginx should be 755 for it to work - getting 403 otherwise when it tries to access the error files.

TrafeX commented 10 months ago

Hi @boindil,

I don't see why that's necessary. Nginx is running under de nobody user and that user is the owner of /var/lib/nginx and all underlying folders. Can you paste the error you're getting?

TrafeX commented 7 months ago

I'm closing this issue due to inactivity. Let me know if you still experience this so I can re-open it.