Re: try_files and proxypass

2015-08-07 Thread Francis Daly
On Fri, Aug 07, 2015 at 01:39:05AM -0400, arlin wrote: Hi there, > I came across such configs and I am curios to know what @app_$dc; matches > in location configs? > > try_files $uri @app_$dc; Presumably somewhere else in the config, $dc is set to either prod or qadc. try_files expands vari

try_files and proxypass

2015-08-06 Thread arlin
Hi, I came across such configs and I am curios to know what @app_$dc; matches in location configs? try_files $uri @app_$dc; location @app_prod { proxy_pass http://app_prod;} location @app_qadc { proxy_pass http://app_qadc;} Thanks ar Posted at Nginx Forum: http://forum.nginx.org/read.php?2