服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx
  3. Nginx位置:CGI和Nagios
Intereting Posts
Active Directorylogin脚本 无法获得工作端点(jk_handler :: mod_jk.c) 防止用户下载某些文件 Exchange 2003:全新安装,一对noob问题 PPTP与IPSec的安全性 绑定域到IP 在HAProxy集群中部署更改的最佳方法 HP DL580 G5 Hyper-Vnetworking问题 Mac OS X 10.5 / 6,当两个服务器都有您的用户名时,通过NIS或LDAP进行身份validation 局域网和广域网在相同的电缆? 我可以阻止一个Gentoo“新兴世界”添加一个function或使用国旗我忘了? 来自cloudflare ssl的handshake_failure 问题与傀儡政策为基础的自动签名 用于Small Office的Windows Server 2012 R2 Standard + Essentials安装程序 允许在Cisco ASA5510的接口之间访问打印机

Nginx位置:CGI和Nagios

在以下情况下,Nginx应该将任何CGI请求redirect到“/ usr / share / nagios / sbin”:

location ~ \.cgi$ { AND location /nagios { 

每种情况都可以正常工作。 请求“newco.com/nagios”去正确的地方,并请求“whatever.com/*.cgi”去同一个地方。

但是我怎样才能把它们结合起来,这样只有“newco.com/nagios/*.cgi”在“/ usr / share / nagios / sbin”目录下才会出现?

  • NGINX日志中的GET 6C6CCDBA-AFF1-E54F-A6A6-0D7A76E35801
  • 如何在Nginx服务器块中创build多个停放的域
  • 如何在coreos docker容器和舰队上使用nginx
  • Ubuntu 12.04未满足的依赖关系
  • 在同一个Nginx服务器上运行PHP和Node.js

  • nginx:将多个URL路由到一个html文件
  • nginx需要访问哪些目录?
  • Nginx:将目录redirect到虚拟服务器
  • Nginx Rewite – 匹配结束Url不工作
  • 如何将fastcgi支持添加到nginx?

这个会工作吗?

 location ~ ^/nagios/.+\.cgi$ { 
  • 无法访问不同于80端口的服务器
  • 浏览器获取两个不同的SSL证书,而不是一个(IE浏览器)
  • OPcache打破phpBB注册
  • Ngnix用catchall server_name重写
  • 在nginx中使用fastcgi_split_path_info作为userdir
  • nginx在404上重试一次静态文件
  • WordPress无法写入文件,尽pipe正确的文件权限
  • Nginx位置redirect不当
  • 在Apache的nginx不加载图像
  • Nginxcaching节点中的%sys系统利用率很高

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy