Welcome! Log In Create A New Profile

Advanced

Creating One-way connections or Dont wait for upstream

August 16, 2013 06:32AM
Hello,

I am working on an application where http ( websocket, or any type of connection) connections will be one direction for inserting data into a database and queuing data. The client side of the application does not care about the response from nginx. It would be acceptable to send a blank response or send no database at all and simple just close the connection. After or as the connection is closed I would like the data to work internal within nginx as normal selecting an upstream proxying it, if the upstream timeouts or has an error still be able to use nginx_next_upstream.

What would a configuration like this look like?

Thank you in advance.
Subject Author Posted

Creating One-way connections or Dont wait for upstream

wojonstech August 16, 2013 06:32AM

Re: Creating One-way connections or Dont wait for upstream

Reinis Rozitis August 16, 2013 08:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 6 on August 08, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready