This commit is contained in:
dave 2015-01-24 00:08:29 -08:00
parent b49e831368
commit 08ee7da9f8
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ RUN mkdir /home/znc/pisg /home/znc/pisg/cache /home/znc/pisg/output
# Pisg and nginx
RUN apt-get install -y pisg nginx-light
# Set nginx workers to a low number
RNN sed -i -e"s/^worker_processes\s*4/worker_processes 1/" /etc/nginx/nginx.conf
RUN sed -i -e"s/^worker_processes\s*4/worker_processes 1/" /etc/nginx/nginx.conf
# Set nginx user to ZNC user
RUN sed -i -e"s/^user\s*www\-data/user znc/" /etc/nginx/nginx.conf
# Turn off nginx daemon mode