Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We are using nginx as a proxy for a Rails app, which processes callback requests. Some of these requests get sent to us in a "fire-and-forget" manner. Meaning, the client closes the connection, immediately after sending the request, without waiting for the response. Nginx cancels the request, logs a 499 and nothing gets through to the Rails app.

Can nginx be configured, so that it still relays the request to the Rails app, even when the client closes the connection, after it has been sent?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I was able to fix it with the proxy_ignore_client_abort parameter in the nginx config.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.