boring-nginx: update Dockerfile, optimisations

This commit is contained in:
Wonderfall
2017-08-08 04:54:27 +02:00
parent d39cd31854
commit 54982bdc04
10 changed files with 44 additions and 26 deletions

View File

@ -0,0 +1,4 @@
#!/bin/sh
chown -R $UID:$GID /etc/nginx /var/log/nginx /sites-enabled /conf.d /certs /www /tmp
chmod -R 700 /certs
exec su-exec $UID:$GID /sbin/tini -- nginx