drmike
100% Tier-1 Gogent
Working on updating an old project and have random problem getting something working in nginx.
Trying to do something like this:
existing url: www.domain.com/page.asp ---> redirect "invisibly" to user to new url: www.domain.com/page.php (via nginx reverse proxy)
I basically have a list of URLs that are getting one at a time replaced / rewrote (pages contain backend application scripting that is getting rewrote). So can't just do detect on the extension (.asp) and universally reverse proxy them.
Anyone have some nginx love / config / tips on how to accomplish this?
I also don't want the URLs changing since other pieces in public out there. URL provided by user needs to remain the same and all the magic needs to happen with Nginx and reverse proxy functionality.
Thank you!
Trying to do something like this:
existing url: www.domain.com/page.asp ---> redirect "invisibly" to user to new url: www.domain.com/page.php (via nginx reverse proxy)
I basically have a list of URLs that are getting one at a time replaced / rewrote (pages contain backend application scripting that is getting rewrote). So can't just do detect on the extension (.asp) and universally reverse proxy them.
Anyone have some nginx love / config / tips on how to accomplish this?
I also don't want the URLs changing since other pieces in public out there. URL provided by user needs to remain the same and all the magic needs to happen with Nginx and reverse proxy functionality.
Thank you!