server {
listen 80;
listen [::]:80;

server_name transparencia.wvides.cf;

root /var/www/transparencia/;
index index.php index.html;

location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php5-fpm.sock;
}

location ~ /\.ht {
deny all;
}
}

#Configurar el sitio virtual
server {
listen 80;
listen [::]:80;

server_name wvides.cf;

root /var/www/;
index index.php index.html;

location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php5-fpm.sock;
}

location ~ /\.ht {
deny all;
}
}

Anuncios