This commit is contained in:
@ -7,6 +7,7 @@ RUN cd /usr/share/nginx/html && ./snippet-indexer.sh
|
||||
RUN \
|
||||
chown -R nobody:nobody /var/cache/nginx /var/log/nginx && \
|
||||
sed -i 's/listen\s\+80;/listen 8080;/' /etc/nginx/conf.d/default.conf && \
|
||||
sed -i 's/index index.html index.htm;/index mdwiki.html;/' /etc/nginx/conf.d/default.conf && \
|
||||
sed -i 's,pid\s\+/var/run/nginx.pid;,pid /tmp/nginx.pid;,' /etc/nginx/nginx.conf
|
||||
USER nobody
|
||||
# ------------
|
||||
|
Reference in New Issue
Block a user