POST redirection with NGINX
nginx-forum at forum.nginx.org
Fri May 18 20:02:55 UTC 2018
The base name of a web application has changed and now I need to implement a
redirection of POST requests so that, whenever clients already using the old
base path are not affected by this modification. So, let's say the old path
to a web service is https://ip-address/old-name/rest/mymethod and now it is
going to be https://ip-address/new-name/rest/mymethod
I tried both return 307 and rewrite rules but nothing worked until now.
Can you please give me a hand on this?
Thank you very much in advance!
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279868,279868#msg-279868
More information about the nginx