diff options
| author | 2018-10-24 18:15:24 +0200 | |
|---|---|---|
| committer | 2018-10-24 18:15:24 +0200 | |
| commit | 3eae8bd3b7b5f82f71aef341e6bf519483903867 (patch) | |
| tree | 666c93cc9bd5429882af6a81489b833ddfb0314e /docs | |
| parent | a1dc5ada6742f250952929db3b5606206214f962 (diff) | |
doc: update nginx config to reflect debian php7.0 changes (#2076)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/en/admins/02_Installation.md | 2 | ||||
| -rw-r--r-- | docs/fr/users/01_Installation.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/en/admins/02_Installation.md b/docs/en/admins/02_Installation.md index 9bf800969..7d001c3e4 100644 --- a/docs/en/admins/02_Installation.md +++ b/docs/en/admins/02_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! diff --git a/docs/fr/users/01_Installation.md b/docs/fr/users/01_Installation.md index de4e687b7..7901aa698 100644 --- a/docs/fr/users/01_Installation.md +++ b/docs/fr/users/01_Installation.md @@ -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 ! |
