Nginx installation and configuration Zabbix
Zabbix official installation documentation is to run Zabbix on httpd, but now most companies use Nginx services
The following describes how to configure Zabbix to run on Nginx.
The following is the Nginx Virtual Host Configuration File
Server {listen 80; server_name zabbix.com; // your custom domain name access_log/var/log/nginx/zabbix. log main; // log root/data/web/zabbix/; // Directory index. php index.html; client_max_body_size 5 m; client_body_buffer_size 128 k; location ~ \. Php $ {fastcgi_pass 127.0.0.1: 9000; fastcgi_index index. php; include fastcgi. conf;} location ~ * \. (Jpg | jpeg | png | gif | css | js | ico) $ {expires max; log_not_found off;} location ~ /\. Ht {deny all;} location ~ /\. {Deny all ;}}
Check your nginx configuration file.
/etc/init.d/nginx configtestnginx: the configuration file /etc/nginx/nginx.conf syntax is oknginx: configuration file /etc/nginx/nginx.conf test is successful
Restart !!
Some Zabbix Tutorials:
Compile and install Zabbix2.4.5 source code in Ubuntu 14.04
Install and deploy the distributed monitoring system Zabbix 2.06
Install and deploy the distributed monitoring system Zabbix 2.06
Install and deploy Zabbix in CentOS 6.3
Zabbix distributed monitoring system practice
Under CentOS 6.3, Zabbix monitors apache server-status
Monitoring MySQL database Parameters Using Zabbix in CentOS 6.3
Install Zabbix 2.0.6 in 64-bit CentOS 6.2
ZABBIX details: click here
ZABBIX: click here
This article permanently updates the link address: