Server synchronisation

This commit is contained in:
nemunaire 2013-12-13 18:45:25 +01:00
commit bbec08ac4f
6 changed files with 218 additions and 18 deletions

View file

@ -17,6 +17,11 @@
rewrite ^/(.*)$ /index.php?p=$1 last;
}
location /files
{
root /var/www/fic2014-server/;
}
location ~* \favicon.ico$ {
access_log off;
expires 1d;
@ -37,7 +42,7 @@
{
if (!-e $document_root$document_uri) { return 404; }
include /etc/nginx/fastcgi.conf;
fastcgi_pass unix:/var/run/fastcgi/php-fpm.sock;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
break;
}