Fix certificate file paths in Caddyfile and docker-compose.yml for correct renewal handling
Deploy mini-pc / deploy (push) Failing after 13s
Deploy mini-pc / deploy (push) Failing after 13s
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
git.ada-dev.ru {
|
||||
tls /config/lego/certificates/_.ada-dev.ru.crt /config/lego/certificates/_.ada-dev.ru.key
|
||||
tls /config/lego/certificates/ada-dev.ru.crt /config/lego/certificates/ada-dev.ru.key
|
||||
reverse_proxy 192.168.1.5:3002
|
||||
}
|
||||
|
||||
cloud.ada-dev.ru {
|
||||
tls /config/lego/certificates/_.ada-dev.ru.crt /config/lego/certificates/_.ada-dev.ru.key
|
||||
tls /config/lego/certificates/ada-dev.ru.crt /config/lego/certificates/ada-dev.ru.key
|
||||
reverse_proxy 192.168.1.5:8081
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ services:
|
||||
- -c
|
||||
- |
|
||||
while true; do
|
||||
if [ -f /lego-data/certificates/_.ada-dev.ru.crt ]; then
|
||||
if [ -f /lego-data/certificates/ada-dev.ru.crt ]; then
|
||||
/lego renew \
|
||||
--email "$$LEGO_EMAIL" \
|
||||
--dns timewebcloud \
|
||||
|
||||
Reference in New Issue
Block a user