Server synchronisation
This commit is contained in:
parent
4b101ef4b2
commit
bbec08ac4f
6 changed files with 218 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue