Using map and proxy_pass

Markus Jelsma markus.jelsma at openindex.io
Sat Apr 30 14:52:42 MSD 2011


Too many. I need to generate the mappings in an external program. I'd rather 
not generate as many different locations.


Thanks


> How many uri / backend mappings do you have?  You could perform the
> above in two straight forward location blocks, based on the uri.
> 
> location /abc {
> 
> proxy_pass http://host01:8080;
> }
> 
> ....
> 
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,194480,194616#msg-194616
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list