From b9f8f19b865c164bd9454ff7da8d5baa88d048f4 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 13 Apr 2022 01:31:52 +0200 Subject: [PATCH] more example_ynh --- conf/nginx.conf | 1 - conf/php-fpm.conf | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 898b35f..c5d1085 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,7 +10,6 @@ location __PATH__/ { index index.php; try_files $uri $uri/ @rewrite___NAME__; - location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 52dfead..238913c 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -229,7 +229,7 @@ pm.max_spare_servers = 3 ; last request memory: 0 ; ; Note: There is a real-time FPM status monitoring sample web page available -; It's available in: /usr/share/php/__PHPVERSION__/fpm/status.html +; It's available in: /usr/share/php/7.0/fpm/status.html ; ; Note: The value must start with a leading slash (/). The value can be ; anything, but it may not be a good idea to use the .php extension or it