Openresty bouncer not working?
Since discovering that my bouncer wasn't properly working yesterday I've completly reworked my reverse proxy setup.
Now I'm using an Ubuntu 22.04 machine running openresty. Yet I can't seem to get the bouncer working with my LAPI (LAPI says bouncer never pulled info from API). I have the include line in the nginx.conf.
This is my config:
I'm not sure where to start troubleshooting as I can't seem to find any logs besides these: (which I know don't matter)
4 Replies
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type
/unresolve
© Created By WhyAydan for CrowdSec ❤️
I can see it is actually loading the lua code, the only thing is the nginx code only triggers upon a request, so has the webserver recieved one request since its running?
It hasn't
I see, let me run a test
Okay, the bouncer did pull from the API now.
After some more troubleshooting with configs I got it working. Thanks Loz!
Resolving Openresty bouncer not working?
This has now been resolved. If you think this is a mistake please run
/unresolve