1
0
docker-ttrss/ttrss.nginx.conf

20 lines
354 B
Plaintext
Raw Normal View History

2014-04-26 17:24:57 +02:00
server {
listen 80;
root /var/www;
index index.php index.html;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
2014-04-26 17:24:57 +02:00
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
2014-04-26 17:24:57 +02:00
}
}