1
0
mirror of https://github.com/ArcticFoxes-net/Signal-TLS-Proxy synced 2024-11-18 01:41:34 -05:00

Expose Certbot ports

This commit is contained in:
Jon Chambers 2022-09-22 15:40:24 -04:00 committed by Jon Chambers
parent 2fe26e3b8a
commit 79b96cad6e
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ http {
listen 80; listen 80;
location /.well-known/acme-challenge/ { location /.well-known/acme-challenge/ {
root /var/www/certbot; alias /var/www/certbot/;
} }
} }
} }

View File

@ -10,6 +10,7 @@ services:
- ./data/certbot/www:/var/www/certbot - ./data/certbot/www:/var/www/certbot
ports: ports:
- "443:443" - "443:443"
- "80:80"
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; /opt/nginx/sbin/nginx -s reload; done & /opt/nginx/sbin/nginx -c /etc/nginx/conf.d/nginx.conf -g \"daemon off;\"'" command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; /opt/nginx/sbin/nginx -s reload; done & /opt/nginx/sbin/nginx -c /etc/nginx/conf.d/nginx.conf -g \"daemon off;\"'"
nginx-relay: nginx-relay:
build: ./nginx-relay/ build: ./nginx-relay/