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-07-16 23:50:01 +09:00

26 lines
474 B
Caddyfile

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
}