feat: add setup

This commit is contained in:
h
2026-05-21 23:54:13 +02:00
commit 99af700ff2
15 changed files with 2754 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
{
admin off
# acme_dns cloudflare {env.CLOUDFLARE_API_TOKEN}
log {
format console
}
servers {
trusted_proxies cloudflare
client_ip_headers Cf-Connecting-Ip
}
}
<DOMAIN> {
redir /anthropic /anthropic/ 308
redir /mcp /mcp/ 308
redir /admin /admin/ 308
redir /md /md/ 308
handle_path /anthropic/* {
reverse_proxy host.docker.internal:62990
}
handle_path /mcp/* {
reverse_proxy host.docker.internal:62991
}
handle_path /admin/* {
reverse_proxy host.docker.internal:62992
}
handle_path /md/* {
reverse_proxy host.docker.internal:62993
}
}