nginx: fix inconsistencies in certbox public file directory
Some where referring to /var/www/html, some to /var/www/certbot: now everything should be in /var/www/html, that should fix certificate renewal
This commit is contained in:
@@ -69,7 +69,7 @@ services:
|
||||
- ./nginx/templates:/etc/nginx/templates/
|
||||
- ./nginx/snippets:/etc/nginx/snippets
|
||||
- inventaire-server:/opt/inventaire
|
||||
- certbot-www:/var/www/certbot
|
||||
- certbot-www:/var/www/html
|
||||
- ./certbot/conf:/etc/letsencrypt
|
||||
- nginx-cache:/tmp/nginx
|
||||
env_file: .env
|
||||
@@ -81,9 +81,9 @@ services:
|
||||
image: certbot/certbot:latest
|
||||
volumes:
|
||||
- ./certbot/conf:/etc/letsencrypt
|
||||
- certbot-www:/var/www/certbot
|
||||
- certbot-www:/var/www/html
|
||||
restart: unless-stopped
|
||||
entrypoint: /bin/sh -c "trap exit TERM; while :; do certbot renew --webroot -w /var/www/certbot; sleep 12h & wait $${!}; done;"
|
||||
entrypoint: /bin/sh -c "trap exit TERM; while :; do certbot renew --webroot -w /var/www/html; sleep 12h & wait $${!}; done;"
|
||||
depends_on:
|
||||
- nginx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user