2014-04-26 17:24:57 +02:00
|
|
|
server {
|
|
|
|
listen 80;
|
2014-11-12 02:43:18 -05:00
|
|
|
root /var/www/tt-rss;
|
2014-04-26 17:24:57 +02:00
|
|
|
|
|
|
|
index index.php index.html;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
try_files $uri $uri/ =404;
|
|
|
|
}
|
|
|
|
|
|
|
|
location ~ \.php$ {
|
|
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
|
|
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
|
|
|
fastcgi_index index.php;
|
|
|
|
include fastcgi_params;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|