Files
2026-05-21 23:54:13 +02:00

34 lines
676 B
Caddyfile

{
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
}
}