1
0
Fork 0
mirror of https://github.com/kou029w/fogtype.com synced 2025-01-18 16:08:01 +00:00
fogtype.com/etc/caddy/Caddyfile

45 lines
916 B
Text
Raw Permalink Normal View History

2022-12-19 21:43:41 +09:00
fogtype.com {
2023-08-26 21:29:22 +09:00
header /.well-known/nostr.json access-control-allow-origin *
@exists file
handle @exists {
file_server
2023-02-06 23:15:34 +09:00
}
reverse_proxy http://gts:8080
2022-12-19 21:43:41 +09:00
}
www.fogtype.com {
redir https://fogtype.com{uri} 308
}
2023-05-04 22:54:13 +09:00
net.fogtype.com {
2024-12-16 23:46:01 +09:00
@options {
method OPTIONS
}
handle @options {
header {
access-control-allow-origin https://headscale.fogtype.com
access-control-allow-methods *
access-control-allow-headers *
}
respond 204
}
header access-control-allow-origin https://headscale.fogtype.com
2023-05-04 22:54:13 +09:00
reverse_proxy headscale:8080
}
2023-05-04 17:58:47 +09:00
mta-sts.fogtype.com {
handle /.well-known/mta-sts.txt {
file_server
}
redir / /.well-known/mta-sts.txt
}
2023-09-25 22:22:24 +09:00
openpgpkey.fogtype.com {
2023-09-25 22:33:03 +09:00
header access-control-allow-origin *
2023-09-25 22:22:24 +09:00
handle /.well-known/openpgpkey/* {
file_server
}
redir / /.well-known/openpgpkey/fogtype.com/hu/k5iarqu189w6rpg6immh6a3sdiyse3kp
}
2023-07-16 23:50:46 +09:00
git.fogtype.com {
reverse_proxy http://rho.fogtype.com:3000
}