haproxy -ACL邮政请求规则
如果特定的查询字符串参数(例如param)设置在POST请求中,我想拒绝对REST API端点的访问。
例如:post /api?param < /code>
I would like to deny the access to a rest api endpoint if a specific query string parameter (e.g. param) is set in a post request.
E.g.: POST /api?param
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将以下ACL角色添加到您的HA代理配置:
Add the following ACL role to your HA Proxy configuration: