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