mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-19 00:18:05 +00:00
36 lines
719 B
Caddyfile
36 lines
719 B
Caddyfile
fogtype.com {
|
|
header /.well-known/nostr.json access-control-allow-origin *
|
|
@exists file
|
|
handle @exists {
|
|
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
|
|
}
|
|
openpgpkey.fogtype.com {
|
|
handle /.well-known/openpgpkey/* {
|
|
file_server
|
|
}
|
|
redir / /.well-known/openpgpkey/fogtype.com/hu/k5iarqu189w6rpg6immh6a3sdiyse3kp
|
|
}
|
|
git.fogtype.com {
|
|
reverse_proxy http://rho.fogtype.com:3000
|
|
}
|