I use Nginx as reverse proxy and trying to config it. I want to rewrite a url (it's ok). But sometimes, the server redirect a old_url to new_url. Rewrite just handle old_url and result's wrong. How can I get new_url and rewrite it?
Subscribe to get latest updates