Ask Your Question
1

What does "nginx permission denied on stderr" mean when the container is running as a non-root user?

asked 2023-05-18 03:21:04 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-05-18 03:41:02 +0000

bukephalos gravatar image

"nginx permission denied on stderr" means that the Nginx process that is running inside the container does not have the necessary permissions to write to the standard error (stderr) output. This can happen when the container is running as a non-root user and the user does not have the necessary permissions to write to the file system location where the Nginx logs are stored. To resolve this issue, you need to ensure that the non-root user has the necessary permissions to write to the logs directory or change the logs directory to a location where the non-root user has write access.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-18 03:21:04 +0000

Seen: 9 times

Last updated: May 18 '23