adyya-flake/services/caddy/Caddyfile
Ittihadyya 2e59119a50
Some checks are pending
/ Check formatting (push) Waiting to run
initial matrix/conduit stuff, i think?
2025-01-12 10:58:15 +02:00

62 lines
No EOL
1.3 KiB
Caddyfile

{
layer4 {
:222 {
@a ssh
route @a {
proxy 10.24.1.9:222
}
}
:64738 {
route {
proxy 10.24.1.4:64738
}
}
}
}
https://collective-conciousness.monster {
encode zstd gzip
header {
Strict-Transport-Security "max-age=31536001; includeSubdomains; preload"
}
root * /var/www/public
file_server {
precompressed zstd br gzip
}
}
https://git.collective-conciousness.monster {
reverse_proxy 10.24.1.9:3000
}
https://obs.collective-conciousness.monster {
reverse_proxy 10.24.1.4:5894
}
https://gts.collective-conciousness.monster {
# Optional, but recommended, compress the traffic using proper protocols
encode zstd gzip
# The actual proxy configuration to port 8080 (unless you've chosen another port number)
reverse_proxy 10.24.1.9:8080 {
# Flush immediately, to prevent buffered response to the client
flush_interval -1
}
}
https://cache.collective-conciousness.monster {
encode zstd gzip
reverse_proxy 10.24.1.4:5020
}
https://grf.collective-conciousness.monster {
encode zstd gzip
reverse_proxy 10.24.1.4:6700
}
matrix.collective-conciousness.monter, matrix.collective-conciousness.monster:8448 {
reverse_proxy 10.24.1.4:7893
}