mirror of
https://github.com/ArcticFoxes-net/Signal-TLS-Proxy
synced 2024-12-22 00:21:32 -05: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
|
- SETUID
|
||||||
- SETGID
|
- SETGID
|
||||||
- CAP_NET_BIND_SERVICE
|
- 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:
|
nginx-relay:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -32,6 +33,7 @@ services:
|
|||||||
cap_add:
|
cap_add:
|
||||||
- SETUID
|
- SETUID
|
||||||
- SETGID
|
- 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:
|
certbot:
|
||||||
image: certbot/certbot
|
image: certbot/certbot
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Loading…
Reference in New Issue
Block a user