1
0
Fork 0
mirror of https://github.com/kou029w/fogtype.com synced 2025-01-19 00:18:05 +00:00
fogtype.com/etc/caddy/Caddyfile
2023-05-04 22:54:13 +09:00

38 lines
776 B
Caddyfile

keiu.net, www.keiu.net {
redir https://fogtype.com{uri} 308
}
read.keiu.net {
redir https://rad.fogtype.com{uri} 308
}
fogtype.com {
handle /.well-known/nostr.json {
header access-control-allow-origin *
file_server
}
reverse_proxy http://gts:8080
}
www.fogtype.com {
redir https://fogtype.com{uri} 308
}
dns.fogtype.com {
reverse_proxy /dns-query https://dns {
transport http {
tls_server_name dns.fogtype.com
}
}
}
net.fogtype.com {
reverse_proxy headscale:8080
}
mta-sts.fogtype.com {
handle /.well-known/mta-sts.txt {
file_server
}
redir / /.well-known/mta-sts.txt
}
task.fogtype.com {
reverse_proxy /.well-known/* vikunja-api:3456
reverse_proxy /api/* vikunja-api:3456
reverse_proxy /dav/* vikunja-api:3456
reverse_proxy vikunja-frontend:80
}