mirror of
https://github.com/ArcticFoxes-net/Signal-TLS-Proxy
synced 2024-09-07 18:53:30 -04:00
NGINX autoreload
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
681f626851
commit
0689f8a983
@ -20,6 +20,7 @@ services:
|
||||
- SETUID
|
||||
- SETGID
|
||||
- CAP_NET_BIND_SERVICE
|
||||
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; /usr/sbin/nginx -s reload; done & /usr/sbin/nginx -c /etc/nginx/nginx.conf -g \"daemon off;\"'"
|
||||
nginx-relay:
|
||||
image: nginx:alpine
|
||||
restart: unless-stopped
|
||||
@ -32,6 +33,7 @@ services:
|
||||
cap_add:
|
||||
- SETUID
|
||||
- SETGID
|
||||
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; /usr/sbin/nginx -s reload; done & /usr/sbin/nginx -c /etc/nginx/nginx.conf -g \"daemon off;\"'"
|
||||
certbot:
|
||||
image: certbot/certbot
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user