1. /etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf
[zabbix]
user = nginx
group = nginx
listen.owner = nginx
listen.group = nginx
listen.mode = 0666
listen = /var/opt/rh/rh-php72/run/php-fpm/zabbix.sock
listen.acl_users = nginx
listen.allowed_clients = 127.0.0.1
pm = dynamic
pm.max_children = 50
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 35
php_value[session.save_handler] = files
php_value[session.save_path] = /var/opt/rh/rh-php72/lib/php/session/
php_value[max_execution_time] = 300
php_value[memory_limit] = 128M
php_value[post_max_size] = 16M
php_value[upload_max_filesize] = 2M
php_value[max_input_time] = 300
php_value[max_input_vars] = 10000
; php_value[date.timezone] = Europe/Riga
php_value[date.timezone] = Asia/Shanghai
2. /etc/opt/rh/rh-php72/php-fpm.d/www.conf
删除这个文件
3. /etc/opt/rh/rh-nginx116/nginx/nginx.conf
注释
#server {
# ......
#}
4. /etc/opt/rh/rh-nginx116/nginx/conf.d/zabbix.conf
变更
listen 80;
server_name _;