Improve ports configuration

This commit is contained in:
Tobias Reisinger 2024-10-21 01:52:16 +02:00
parent ff92241ddb
commit e17156a8ca
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 37 additions and 10 deletions

View file

@ -42,9 +42,21 @@ services = {
name = "caddy"
host = "*"
ports = [
"80:80",
"443:443",
"443:443/udp",
{
port = 80
protocol = "tcp"
type = "reverse_proxy"
},
{
port = 443
protocol = "tcp"
type = "reverse_proxy"
},
{
port = 443
protocol = "tcp"
type = "reverse_proxy"
},
#"2019:2019",
]
auth = false
@ -418,7 +430,13 @@ services = {
url = "/_matrix/client/versions"
group = "4-services"
}
ports = ["8448:8448"]
ports = [
{
port = 8448
protocol = "tcp"
type = "reverse_proxy"
}
]
auth = true
auth_redirects = ["https://matrix.serguzim.me/_synapse/client/oidc/callback"]
database = true