Re: Rerouting based on content-type of request

2015-08-06 Thread itpp2012
Close enough: http://forum.nginx.org/read.php?2,239473,239473#msg-239473 Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260830,260831#msg-260831 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Rerouting based on content-type of request

2015-08-06 Thread sudharshanr
I'm having a reverse-proxied Nginx server. I wanted to know if it is possible to redirect the request in Nginx based on the content-type of the request? Right now, I'm checking the URL for a keyword, and based on that, I redirect the request. So it is something like this: location ~*/(keyword){