Re: Avice for my vhost configuration

2013-08-06 Thread Mik J
_ > De : wishmaster >À : nginx@nginx.org >Cc : "nginx@nginx.org" >Envoyé le : Mardi 6 août 2013 10h10 >Objet : Re: Avice for my vhost configuration > > >--- Original message --- >From: "Mik J" >Date: 6 August 2013, 00:44:37 > >&

Re: Avice for my vhost configuration

2013-08-06 Thread wishmaster
--- Original message --- From: "Mik J" Date: 6 August 2013, 00:44:37 > Hello, > > > > > > > I plan to configure my nginx server with a couple of vhosts. > > For each of them I want: > > - to use php > > - deny access begining by a dot > > - not logging access to favicon > > > >

Re: Avice for my vhost configuration

2013-08-05 Thread B.R.
Yup, include is the way I would do that personally. Documentation: http://nginx.org/en/docs/ngx_core_module.html#include The funny thing is you already are using the 'include' directive: look at your 'include fastcgi_params;' line. There must be a 'fastcgi_params' file in your configuration direct

Avice for my vhost configuration

2013-08-05 Thread Mik J
Hello, I plan to configure my nginx server with a couple of vhosts. For each of them I want: - to use php - deny access begining by a dot - not logging access to favicon So my configuration would look like that server { ...     location ~ \.php$ {     root   /var/www/htdocs/s