add nginx image

This commit is contained in:
Wonderfall
2016-06-11 11:51:13 +02:00
parent 03a20d45b1
commit 6d4faf4327
11 changed files with 528 additions and 0 deletions

5
nginx/run.sh Normal file
View File

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