mirror of
https://github.com/ArcticFoxes-net/Signal-TLS-Proxy
synced 2024-12-30 03:31:34 -05:00
NGINX autoreload
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
169fe989cc
commit
394b316e1b
@ -11,11 +11,13 @@ services:
|
||||
ports:
|
||||
- "443:443"
|
||||
- "80:80"
|
||||
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
|
||||
volumes:
|
||||
- ./data/nginx-relay/nginx.conf:/etc/nginx/nginx.conf:Z
|
||||
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