open-webui / Caddyfile
wwforonce's picture
fix readeck CSRF error
ad77bf3
:7860 {
# https://github.com/justlovemaki/AIClient-2-API
handle_path /8085/* {
reverse_proxy localhost:8085
}
handle_path /apiv1/* {
reverse_proxy localhost:3000
}
# gemini-balance
handle_path /apiv2/* {
reverse_proxy localhost:8000
}
# https://github.com/waxz/gemini-cli-openai
handle_path /apiv3/* {
reverse_proxy localhost:8881
}
# readeck
handle /readeck/* {
reverse_proxy localhost:7000 {
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-Host {host}
header_up Host {host}
}
}
# openweb-ui
reverse_proxy localhost:8080
}