doc: update nginx config to reflect debian php7.0 changes (#2076)

pull/2080/head
Maltimore 6 years ago committed by Alexandre Alapetite
parent a1dc5ada67
commit 3eae8bd3b7
  1. 2
      docs/en/admins/02_Installation.md
  2. 2
      docs/fr/users/01_Installation.md

@ -122,7 +122,7 @@ server {
# php files handling
# this regex is mandatory because of the API
location ~ ^.+?\.php(/.*)?$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
# By default, the variable PATH_INFO is not set under PHP-FPM
# But FreshRSS API greader.php need it. If you have a “Bad Request” error, double check this var!

@ -119,7 +119,7 @@ server {
# gestion des fichiers php
# il est nécessaire d’utiliser cette expression régulière pour le bon fonctionnement de l’API
location ~ ^.+?\.php(/.*)?$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
# Par défaut la variable PATH_INFO n’est pas définie sous PHP-FPM
# or l’API FreshRSS greader.php en a besoin. Si vous avez un “Bad Request”, vérifiez bien cette dernière !

Loading…
Cancel
Save