-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hi. What could be the equivalent of the instructions in the docker-compose.yml file to include in my Caddyfile?
¿From docker-compose.yml:
caddy.handle_path: /*
caddy.handle_path.0_respond: "\"\" 403"
caddy.handle_path.0_header.-Server: ""
caddy.handle_path_1: /e=_/*
caddy.handle_path_1.0_reverse_proxy: "{{upstreams 5984}}"
To Caddyfile?:
domain {
handle_path /* {
header {
-server
}
respond 403
}
handle_path /e=_/* {
reverse_proxy IP:5984
}
}
Thanks
XuCpeng, Trevo525 and d3vw
Metadata
Metadata
Assignees
Labels
No labels