yt-summer 发表于 2018-11-8 09:59:15

FreeBSD+Nginx+Zabbix

SHELL>./configure
  SHELL>make
  SHELL>maie install
虚似机主代码
server {
  listen       80;
       server_name192.168.1.5;
  server_name114.85.165.156;
  location / {
  root   /var/www/zabbix;
  indexindex.html index.htm index.php;
  }
  location ~ .php$ {
  fastcgi_pass   127.0.0.1:8888;
  fastcgi_indexindex.php;
  fastcgi_paramSCRIPT_FILENAME/var/www/zabbix$fastcgi_script_name;
  fastcgi_paramQUERY_STRING   $query_string;
  fastcgi_paramREQUEST_METHOD   $request_method;
  fastcgi_paramCONTENT_TYPE   $content_type;
  fastcgi_paramCONTENT_LENGTH   $content_length;
  }
  }

页: [1]
查看完整版本: FreeBSD+Nginx+Zabbix