服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 反向代理 重写 nginx
  3. Nginx:将目录redirect到虚拟服务器
Intereting Posts
.NET,C#,IIS 7.5 – 如何重写URL 根据IP过滤2个WAN的networkingstream量? Apache何时/如何杀死在PHP中产生的subprocess? 什么是现代等烟雾? 内部可信证书 iDRAC 6 Express设置安全的SMTP警报 WMI远程“访问被拒绝” Apache 2.4的位置与exeptions 如何在Windows 2003计算机中为X天数租用DHCP IP地址 在Ubuntu中根据文件大小旋转apache日志 如何在LDAP结构中标记前员工? HyperV故障转移 Apache2悄然打破,不会使apache2.pid 在Linux上限制进程的networking访问? HP ProLiant DL380 G7服务器将不会POST

Nginx:将目录redirect到虚拟服务器

我有两个Nginx虚拟服务器:

server { listen 80 default_server; server_name antergos1; root /data/ } server { server_name nagios; root /usr/share/nagios/share; } 

现在,当请求http://antergos1/nagios时,我需要访问http://nagios服务器。 我需要指定一个proxy_pass和/或重写吗?

  • 如何跨2个IP地址共享单个域SSL证书
  • 我如何使用Nginx来保护不安全的meteor?
  • Apache“随机”丢失VirtualHostconfiguration
  • Nginx多网站多公网ip
  • Apache不会将HTTPS请求代理到tomcat

是的,无论是proxy_pass还是重写规则都可以。

  • iptable的替代debian VPS
  • Nginx的负载平衡/代理上传与path/重写
  • 如何为多站点WordPressconfiguration代理服务器并重写URL?
  • 什么是通过反向代理设置https节点服务器而不使用Apache或Nginx的最佳实践
  • 如何使用nginx设置反向代理?
  • Apache反向代理configuration
  • jenkins,声纳逆向代理
  • NGINX HTTP / HTTPS即使没有指令出现在服务器块中,也可以redirect到HTTPS
  • apache2反向代理URL映射将不适用
  • Nginx客户端证书authentication:如何排除IP地址

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