-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
worker process 107 exited on signal 11 (core dumped) set_real_ip_from with nchan_authorize_request #680
Comments
Do you have a separate upstream block that |
Yea, nchan placed after another nginx proxy |
I suspect if you change the var to refer to an upstream block by name, this will work. Upstreams routed by URL alone don't travel the same code path as ones that go though an upstream block. This has always been a pain in the ass, even without Nchan. |
I try it yesterday, same error
Mb maybe I'm using upstream wrong? |
But all worked if i move From toFrom
To
|
Huh, that's wild. I'll see if I can fix this. |
I can create minimal repro in docker containers if you need |
Nah I got it. This is one of those bugs that's about struggling with Nginx guts. |
Nginx crashed if i use
set_real_ip_from
(and pass header X-Real-Ip) and usenchan_authorize_request
If i comment
nchan_authorize_request
orset_real_ip_from
or not pass header, all be fineNginx 1.25.2-alpine
Nchan 1.3.6
Core dump
The text was updated successfully, but these errors were encountered: