macbre / docker-nginx-http3

Stable and up-to-date root-less nginx with quic + http/3, google brotli compression, njs, GeoIP2, and Grade A+ SSL config
https://hub.docker.com/r/macbre/nginx-http3
159 stars 52 forks source link

Fix for "nginx.pid failed (13: Permission denied)" error #125

Closed victor-sm closed 7 months ago

victor-sm commented 8 months ago

I assumed this is some kind of permission error, caused by deleting and recreating the file, thus losing the owner set by chown in the Dockerfile. This fix circumvents this, by placing the files in a non-root subdirectory and adjusting the necessary configurations.

victor-sm commented 8 months ago

Fixes #104

macbre commented 7 months ago

Thanks, @victor-sm !