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

23 lines
435 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
}
}
}