Skip to content

Conversation

@victor-sm
Copy link

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.

This solves the permission error on startup:

> unlink() "/var/run/nginx.pid" failed (13: Permission denied)
@victor-sm
Copy link
Author

Fixes #104

@macbre macbre merged commit 547443f into macbre:master Dec 6, 2023
@macbre
Copy link
Owner

macbre commented Dec 6, 2023

Thanks, @victor-sm !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants