proxy_pass by the accept header?
ionathan at gmail.com
Thu Jan 19 14:44:18 UTC 2012
I want to proxy_pass depending on the value of the accept header. I have
lots of locations and I wanted to add in a single place a validation that
if accept header is 'text/html" it should proxy_pass to some specific
upstream. Else, just go ahead and try to match a location.
Is that possible?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx