74 lines
1.4 KiB
Caddyfile
74 lines
1.4 KiB
Caddyfile
{
|
|
log {
|
|
level ERROR
|
|
}
|
|
admin off
|
|
}
|
|
|
|
matrix.broccoli.town {
|
|
reverse_proxy /_matrix/* http://localhost:8008
|
|
reverse_proxy /_synapse/client/* http://localhost:8008
|
|
}
|
|
|
|
broccoli.town:8448 {
|
|
reverse_proxy http://localhost:8008
|
|
}
|
|
|
|
broccoli.town {
|
|
header /.well-known/* "Access-Control-Allow-Origin" "*"
|
|
respond /.well-known/matrix/client "{\"m.homeserver\": {\"base_url\": \"https://broccoli.town\"}}"
|
|
|
|
reverse_proxy /_matrix/* http://localhost:8008
|
|
reverse_proxy /_synapse/client/* http://localhost:8008
|
|
|
|
redir / https://chat.broccoli.town
|
|
}
|
|
|
|
chat.broccoli.town {
|
|
header {
|
|
X-Frame-Options "SAMEORIGIN"
|
|
X-XSS-Protection "1; mode=block"
|
|
X-Content-Type-Options "nosniff"
|
|
X-Robots-Tag "noindex, noarchive, nofollow"
|
|
}
|
|
root * @element@
|
|
file_server
|
|
}
|
|
|
|
danielpatterson.dev {
|
|
header {
|
|
proof proven.lol/de4a14
|
|
}
|
|
root * /srv/site/danielpatterson.dev
|
|
encode zstd gzip
|
|
file_server
|
|
}
|
|
|
|
movies.danielpatterson.dev {
|
|
reverse_proxy localhost:8096
|
|
}
|
|
|
|
elixir.danielpatterson.dev {
|
|
reverse_proxy localhost:8080
|
|
}
|
|
|
|
git.broccoli.town {
|
|
reverse_proxy localhost:3030
|
|
}
|
|
|
|
http://bigding:8384 {
|
|
reverse_proxy localhost:8387
|
|
}
|
|
|
|
bigding.squirrel-clownfish.ts.net {
|
|
tls {
|
|
get_certificate tailscale
|
|
}
|
|
reverse_proxy localhost:9091
|
|
}
|
|
|
|
http://bigding {
|
|
reverse_proxy /transmission localhost:9091
|
|
reverse_proxy /transmission/* localhost:9091
|
|
}
|