This commit is contained in:
parent
075c40348c
commit
beb5fd2023
@ -44,7 +44,8 @@ RUN apt-get update && \
|
||||
ln -sf /dev/stderr /var/log/nginx/error.log && \
|
||||
useradd -r -d /var/cache/nginx/ -s /sbin/nologin -U nginx && \
|
||||
ln -sf /usr/lib64/nginx/modules /etc/nginx/modules && \
|
||||
chown -R nginx:users /etc/nginx
|
||||
chown -R nginx:users /etc/nginx && \
|
||||
mkdir /var/run/nginx
|
||||
|
||||
USER nginx:users
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user