1
0
mirror of https://github.com/hoellen/dockerfiles.git synced 2025-05-08 05:09:17 +00:00
2016-04-28 20:21:44 +02:00

6 lines
173 B
Bash

#!/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
chmod -R 700 /certs
su-exec $UID:$GID nginx