mirror of
https://github.com/YunoHost-Apps/monitorix_ynh.git
synced 2024-09-03 19:46:06 +02:00
Fix nginx php status config
This commit is contained in:
parent
83492c0925
commit
bc4020564d
1 changed files with 2 additions and 4 deletions
|
@ -18,12 +18,10 @@ server {
|
|||
{%- set phpversion = php_pool_info.split(',')[0] %}
|
||||
{%- set pool_name = php_pool_info.split(',')[1] %}
|
||||
|
||||
location {{ path.rstrip('/') }}/php-pool-status/php{{ phpversion }}-fpm-{{ pool_name }} {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
location /php-pool-status/php{{ phpversion }}-fpm-{{ pool_name }} {
|
||||
fastcgi_pass unix:/var/run/php/php{{ phpversion }}-fpm-{{ pool_name }}-{{ app }}-status.sock;
|
||||
include fastcgi_params;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param SCRIPT_FILENAME cas_server.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
|
|
Loading…
Reference in a new issue