change pid directory
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-09-20 03:35:04 +02:00
parent beb5fd2023
commit 9e8b872200
2 changed files with 2 additions and 3 deletions

View File

@ -44,8 +44,7 @@ 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 && \
mkdir /var/run/nginx
chown -R nginx:users /etc/nginx
USER nginx:users

View File

@ -66,4 +66,4 @@ if [[ -z "${STREAM_KEY}" ]]; then
;;
esac
nginx
nginx -g 'pid /tmp/nginx.pid;'