richarvey / nginx-php-fpm

Nginx and php-fpm for dockerhub builds
https://hub.docker.com/repository/docker/richarvey/nginx-php-fpm/general
GNU General Public License v3.0
1.66k stars 852 forks source link

Nginx cannot read response from fastcgi when user id changed by environment variable #285

Open Write opened 1 year ago

Write commented 1 year ago

[crit] 61#61: *598 open() "/var/lib/nginx/tmp/fastcgi/7/00/0000000007" failed (13: Permission denied) while reading upstream

User owning the folder is still "100" instead of the one set in PUID/GUID var. This lead to file >= 10MB not being served and throwing this error.