On Wed, 2009-03-18 at 12:38 -0700, mike wrote: > i don't like having to do > > location \.php { > stuff > } > > location /foo { > auth basic stuff > ... and i have to do the php stuff again > } Couldn't you just do: include /etc/nginx/php.conf; location /foo { auth basic stuff include /etc/nginx/php.conf; } Regards, Cliff