This commit is contained in:
Jay Sharma
2023-08-18 03:42:15 +05:30
parent 7d34de6a2f
commit ce575784d3
2 changed files with 17 additions and 0 deletions

View File

@@ -281,5 +281,14 @@ data:
log_not_found off;
deny all;
}
location ~ ^/(status|ping)$ {
access_log off;
allow 127.0.0.1;
deny all;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
}

View File

@@ -281,5 +281,13 @@ data:
log_not_found off;
deny all;
}
location ~ ^/(status|ping)$ {
access_log off;
allow 127.0.0.1;
deny all;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
}