19 lines
462 B
Nginx Configuration File
19 lines
462 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
root /var/lib/tt-rss;
|
|
index index.html index.htm index.php;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html /index.php?$args =404;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
|
fastcgi_param DOCUMENT_ROOT $realpath_root;
|
|
fastcgi_index index.php;
|
|
include /etc/nginx/fastcgi_params;
|
|
}
|
|
}
|