What is the default NGINX user directive /etc/nginx/nginx.conf now in unprivileged image? #142
Answered
by
alessfg
uday1kiran
asked this question in
Q&A
-
It is mentioned that "The default NGINX user directive in /etc/nginx/nginx.conf has been removed" in the unprivileged image. We have an existing project which uses nginx privileed one where a configmap is there to map /etc/nginx/nginx.conf
What should be the new location for this in unprivileged image? |
Beta Was this translation helpful? Give feedback.
Answered by
alessfg
Apr 27, 2023
Replies: 1 comment
-
I would suggest removing the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alessfg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would suggest removing the
user
directive altogether (the defaultuser
is nobody -- http://nginx.org/en/docs/ngx_core_module.html#user).