feat: add setup
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user