Hi, location /api { if ($cookie_API) { ### make a http request to the varnish backend # check if the varnish response contains x-api-ok if ($http_X_API_OK) { proxy_pass http://api-aaa/; } } proxy_pass http://api-bbb/; } what I want to do is the following: If the incoming request has a cookie named API, then nginx sends aby jschulz - How to...
![]() |
![]() |
![]() |
![]() |
|