1
0
docker-ttrss/ttrss.nginx.conf
Vitalii Vokhmin 3d0026bad6 Add support for the newer Ubuntu.
- update PHP to version 7
    - update supervisor config accordingly
    - update nginx config accordingly
2017-03-02 09:31:28 +02:00

20 lines
354 B
Plaintext

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;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
}