zoukankan      html  css  js  c++  java
  • nginx环境下配置nagiosQL-关于nagiosql配置文件

    接上文:nginx环境下配置nagios-关于nginx.conf

    nagiosql文件应该处于conf/domain/目录下

    nagiosql配置如下:

     1 server
     2 {
     3         listen       8088;
     4         server_name  192.168.44.44;
     5         index index.html index.htm index.php;
     6         root  /usr/local/nagios/nagiosql/;
     7 
     8         location /nagiosql/
     9         {
    10                 gzip off;
    11                 alias /usr/local/nagios/nagiosql/;
    12         }
    13         location ~ .*.(php|php5)?$
    14         {
    15                 fastcgi_pass  127.0.0.1:9000;
    16                 fastcgi_index index.php;
    17                 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    18                 include /export/servers/nginx/conf/fastcgi_params;
    19         }
    20 
    21 

    22 } 

  • 相关阅读:
    递归算法转换为非递归算法的技巧
    22. 平面列表
    14. 二分查找
    那点人生小智慧
    9. Fizz Buzz 问题
    8. 旋转字符串
    6. 合并排序数组:
    归并排序
    远方的她
    微服务体系下如何快速构建一个服务
  • 原文地址:https://www.cnblogs.com/zhuhongbao/p/3820490.html
Copyright © 2011-2022 走看看