nginx-proxy-manager/rootfs/etc/services.d/nginx/run

11 lines
180 B
Plaintext
Raw Normal View History

2017-12-20 18:02:37 -05:00
#!/usr/bin/with-contenv bash
2018-07-31 01:18:09 -04:00
mkdir -p /tmp/nginx \
/data/{nginx,logs,access} \
/data/nginx/stream \
/var/lib/nginx/cache/{public,private}
2017-12-20 18:02:37 -05:00
chown root /tmp/nginx
exec nginx
2018-07-31 01:18:09 -04:00