emacs/var/backup/!ssh:tfc@staff.tfcconnection.org|sudo:root@staff.tfcconnection.org:!etc!caddy!Caddyfile~
2022-01-03 12:49:32 -06:00

52 lines
1.5 KiB
Plaintext

# The Caddyfile is an easy way to configure your Caddy web server.
#
# https://caddyserver.com/docs/caddyfile
#
# The configuration below serves a welcome page over HTTP on port 80.
# To use your own domain name (with automatic HTTPS), first make
# sure your domain's A/AAAA DNS records are properly pointed to
# this machine's public IP, then replace the line below with your
# domain name.
#
# https://caddyserver.com/docs/caddyfile/concepts#addresses
# {
# # Restrict the admin interface to a local unix file socket whose directory
# # is restricted to caddy:caddy. By default the TCP socket allows arbitrary
# # modification for any process and user that has access to the local
# # interface. If admin over TCP is turned on one should make sure
# # implications are well understood.
# admin "unix//run/caddy/admin.socket"
# }
bitwarden.tfcconnection.org {
reverse_proxy localhost:9898
}
staff.tfcconnection.org {
encode gzip
reverse_proxy localhost:8080
redir /.well-known/carddav /remote.php/carddav 301
redir /.well-known/caldav /remote.php/caldav 301
header Strict-Transport-Security "max-age=15768000; includeSubDomains; reload;"
}
table.tfcconnection.org {
reverse_proxy localhost:8181
}
n8n.tfcconnection.org {
reverse_proxy localhost:5678
}
mtube.tfcconnection.org {
reverse_proxy localhost:8998
}
tbl.tfcconnection.org {
reverse_proxy localhost:9180
}
# Import additional caddy config files in /etc/caddy/conf.d/
# import /etc/caddy/conf.d/*