通过Nginx 代理zabbix

阅读(1,715)

1.编译安装最新版php并启动

2.配置nginx.conf文件:

      location ~ \.php$ {
        root html;
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
        include        fastcgi.conf;
        }

3.将zabbix 放在nginx的html目录下并将属主和属组改为nginx:

4.启动nginx,访问http://nginx.server/zabbix 即可


Warning: count(): Parameter must be an array or an object that implements Countable in /home/nginx/wordpress/wp-includes/class-wp-comment-query.php on line 405

发表评论

邮箱地址不会被公开。 必填项已用*标注