mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
docs: Update CentOS 7 + Nginx install docs to set SCRIPT_FILENAME (#7200)
Set SCRIPT_FILENAME to prevent white pages on PHP 7.1.x
This commit is contained in:
committed by
Neil Lathwood
parent
ae02aa2489
commit
6d6d8cef37
@ -112,6 +112,7 @@ server {
|
||||
include fastcgi.conf;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass unix:/var/run/php-fpm/php7.0-fpm.sock;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
||||
}
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
|
Reference in New Issue
Block a user