On Fri, May 23, 2014 at 12:22:08PM -0400, sfrazer wrote: Hi there,
> The try_files config is the new part, everything was working fine before I > added that. > location / { > # if ($ignore_ua) { access_log off; } > try_files $uri/index.cchtml @gunicorn; > } > What am I doing wrong here? You are using "if" inside "location" without understanding the subtleties. The safest option is not to do that. I suspect that the simplest option will be to use a newer nginx which can do conditional logging without the "if" directive. http://nginx.org/r/access_log Failing that, then -- untested! -- you might have luck if you duplicate the try_files line inside the "if" block. f -- Francis Daly fran...@daoine.org _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx