works
This commit is contained in:
parent
b2e892a6a6
commit
7adf8f3daf
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
certs/
|
@ -18,6 +18,8 @@ services:
|
||||
volumes:
|
||||
- ./certs:/etc/letsencrypt
|
||||
- ./html:/var/www/html
|
||||
command: certonly --webroot --webroot-path=/var/www/html --email prbigoon@gmail.com --agree-tos --staging --no-eff-email -d git.evil-bird.ru
|
||||
# command: certonly --webroot --webroot-path=/var/www/html --email prbigoon@gmail.com --agree-tos --no-eff-email -d git.evil-bird.ru
|
||||
command: renew --webroot --webroot-path=/var/www/html
|
||||
entrypoint: /bin/sh -c "trap exit TERM; while :; do certbot renew --webroot --webroot-path=/var/www/html; sleep 12h & wait $${!}; done;"
|
||||
depends_on:
|
||||
- nginx
|
||||
|
1
html/index.html
Normal file
1
html/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body><h1>Test Page</h1></body></html>
|
Loading…
x
Reference in New Issue
Block a user