develop #1

Merged
Prygoon merged 8 commits from develop into master 2024-08-25 01:37:42 +03:00
4 changed files with 6 additions and 2 deletions
Showing only changes of commit 7adf8f3daf - Show all commits

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
certs/

View File

@ -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
View File

@ -0,0 +1 @@
<html><body><h1>Test Page</h1></body></html>

View File

@ -29,4 +29,4 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}
}