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} { bot.{$RU_DOMAIN} {
reverse_proxy { reverse_proxy cells1:8080
to https://cells1:8080
transport http {
tls
tls_insecure_skip_verify
}
}
tls internal
} }

View File

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