Nginx request forking
- by Adam
Hi, I'm wondering if nginx can "fork" a request.
Let's imagine config:
upstream backend {
server localhost:8080;
... more servers here
}
server {
location /myloc {
FORK-REQUEST http://my-other-url:3135/something
proxy_pass http://backend;
}
}
I would like nginx to send a copy of request to the url specified by FORK-REQUEST and after that to load balance it with backend servers and return the response to the client. As I don't need the response from FORK-REQUEST it would be best if this request was async so normal prcessing doesn't have to wait.
Is a scenario like this possible?