mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 16:08:01 +00:00
30 lines
636 B
Caddyfile
30 lines
636 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
|
|
}
|
|
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 {
|
|
header access-control-allow-origin *
|
|
handle /.well-known/openpgpkey/* {
|
|
file_server
|
|
}
|
|
redir / /.well-known/openpgpkey/fogtype.com/hu/k5iarqu189w6rpg6immh6a3sdiyse3kp
|
|
}
|
|
git.fogtype.com {
|
|
reverse_proxy http://rho.fogtype.com:3000
|
|
}
|