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-02-06 23:15:34 +09:00

22 lines
454 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 {
reverse_proxy http://gts:8080
reverse_proxy /.well-known/nostr.json https://archive.fogtype.com {
header_up Host {upstream_hostport}
}
}
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
}
}
}