ports to caddy

This commit is contained in:
Dmitry Afanasyev 2023-03-04 18:46:53 +03:00
parent bcd98b8e36
commit bc784febbb
2 changed files with 2 additions and 14 deletions

View File

@ -1,15 +1,3 @@
{
https_port 8080
skip_install_trust
local_certs
}
bot.{$RU_DOMAIN} {
reverse_proxy {
to https://cells1:8080
transport http {
tls
tls_insecure_skip_verify
}
}
tls internal
reverse_proxy cells1:8080
}

View File

@ -169,7 +169,7 @@ services:
# Caddy reverse proxy, exposed as self-signed on port 445
caddy:
image: caddy:2.6.4-alpine
ports: ["8080:8080"]
ports: ["80:80", "443:443"]
restart: unless-stopped
volumes:
- ./conf/Caddyfile:/etc/caddy/Caddyfile