Welcome! Log In Create A New Profile

Advanced

How to call a named location in nginx upon 200 status from upstream server

Latha Appanna
June 26, 2020 06:50AM
Hello,

I want to call REST endpoint after successful (200/201) status from
upstream server. For error cases, I know we can use error_page/try_files
etc. But for success cases, I did not find any directive to use. I read
about `mirror` which can be used to call another server before making the
call to upstream server, I'm looking for something opposite to mirror,
which can be used to call at the end after successful response from
upstream server.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to call a named location in nginx upon 200 status from upstream server

Latha Appanna June 26, 2020 06:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready