我想允许Bitbucket在不通过haproxy公开整个端口(/ login,/ jobs ..)的情况下访问我的Jenkins回调[Private IP]:[PORT]/bitbucket-hook
。
答案 0 :(得分:0)
找到了它,当后端路径与前端路径不同时,可以使用path_end
转发请求或使用reqirep
进行修改。
frontend http-in
bind :444
acl is-jenkin-callback path_end -i /bitbucket-hook
use_backend jenkin-bitbucket-webhook if is-jenkin-callback