Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Nginx installation configuration Zabbix     - Ubuntu install snmp packets Unlinked OID in IPATM-IPMC-MIB: marsMIB (Linux)

- Fatal NI connect error 12170 error in Alert Log (Database)

- SSH without password (Linux)

- Oracle inverted reverse function (Database)

- How to install web crawler tool in Ubuntu 14.04 LTS: Scrapy (Linux)

- Monitoring services are running properly and will email alert (Server)

- Linux prohibit non-WHEEL user su command Detail (Linux)

- Git and GitHub use of Eclipse and Android Studio (Programming)

- How to create a remote (Linux)

- Install Xshell on Mac OS X (Linux)

- Oracle 10g relations with the constraint of column properties NULLABLE (Database)

- Java, boolean operators & =, | = ^ = use (Programming)

- Oracle11g Trigger Debugging Record Error: PLS-00201: identifier SYS.DBMS_SYSTEM 'must be declared (Database)

- MySQL display operation control tips (Database)

- Oracle to create an external table (Database)

- Gitlab installation under CentOS 7 (Linux)

- Nagios (centreon) monitoring Linux Log (Server)

- Linux installed PCRE (Linux)

- C ++ 11 feature: decltype keywords (Programming)

- Eclipse Android development environment installation (Linux)

 
         
  Nginx installation configuration Zabbix
     
  Add Date : 2018-11-21      
         
         
         
  The official installation documentation Zabbix Zabbix is running on the httpd, but now most companies are using Nginx full service

Here to tell you the Zabbix configuration to run on Nginx.

The following is Nginx virtual host configuration file

server {
        listen 80;
        server_name zabbix.com; // your custom domain
    access_log /var/log/nginx/zabbix.log main; // log
        root / data / web / zabbix /; // directory
        index index.php index.html;
        client_max_body_size 5m;
        client_body_buffer_size 128k;

    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;
        }
}
Well Check your nginx configuration file

/etc/init.d/nginx configtest
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Restart it! !
     
         
         
         
  More:      
 
- Memcache explain in detail (Server)
- How to configure Ceph stored on CentOS 7.0 (Server)
- Linux find and xargs (Linux)
- Windows Ubuntu dual system a key Ghost, grub rescue prompt solution (Linux)
- Ubuntu users install the video driver Nvidia Driver 334.21 (Linux)
- Linux system security check notes on performance (Linux)
- Orionode source Linux Mint installation (Linux)
- How to build Mono 3.4.0 / 3.4.1 on Windows (Linux)
- Android components save state series - Activity (Programming)
- Text analysis tools - awk (Linux)
- It is time to upgrade your gulp 4.0 (Programming)
- MySQL5.7 JSON type using presentation (Database)
- Select helps secure the system network management tools (Linux)
- Linux GCC 5.1.0 compiler installation (Linux)
- Grading defense against Linux server attacks (Linux)
- First start with Kali Linux 2.0 (Linux)
- Linux Getting Started tutorial: hard disk partition and to deal with traps (Linux)
- MySQL combination Git achieve differential backups can be used in the production environment (Database)
- Java NIO in the world (Programming)
- Java and Python use make way dictionary word search script (Programming)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.