_
> 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
>
>&
--- 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
>
>
>
>
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
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