-
Notifications
You must be signed in to change notification settings - Fork 155
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
js_content + auth_request + proxy_pass = timeout #12
Comments
it works with this change location = /recaptcha {
proxy_pass_request_body off;
proxy_set_header Content-Length "";
proxy_pass http://localhost:2121;
} but what if i need a request body... |
Hi, @drsm unfortunately, the timeout issue is not related to njs at all. It is the way auth_request module is written. Talking about njs in the access phase: We are planning to add njs http access phase handler in the near future (similar to js_access in stream module http://nginx.org/ru/docs/stream/ngx_stream_js_module.html#js_access). |
Hi, @xeioex, thank you for the answer! I've just found an explanation in the docs:
I think it is good to note this also here: https://nginx.org/en/docs/http/ngx_http_auth_request_module.html |
@drsm Can you share the exact conf you used to get the response body with |
Please, create an issue and explain your problem there in details. |
The text was updated successfully, but these errors were encountered: