Skip to content

Deny status 401 #52

Answered by TimWolla
lastlegion asked this question in Q&A
Discussion options

You must be logged in to vote

@lastlegion Yes, I'm aware of that limitation, but I incorrectly assumed that 401 would be on that list.

As you need to have Lua anyway in order to run this script I guess the best solution for your use case is to add a Lua "service" to generate the correct response. An example can be found on this blog post: https://www.haproxy.com/de/blog/5-ways-to-extend-haproxy-with-lua/

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by TimWolla
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #11 on May 19, 2022 19:31.