5 lines
177 B
Bash
Raw Normal View History

2016-05-29 02:09:20 +02:00
#!/bin/sh
2016-05-31 18:22:11 +02:00
chown -R $UID:$GID /etc/nginx /var/log/nginx /var/run/nginx.pid /sites-enabled /conf.d /certs /www /tmp
2016-05-29 02:09:20 +02:00
chmod -R 700 /certs
2016-09-16 17:08:06 +02:00
exec su-exec $UID:$GID /sbin/tini -- nginx