服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 反向代理 重写 nginx
  3. Nginx:将目录redirect到虚拟服务器
Intereting Posts
crontab中没有密码的简单rsync 手动同步多个数据库的最佳方法 从Samba 4 DC迁移到Windows 2008 R2 DC Powerbroker Open:无法自动挂载CIFS共享,kerberos票证在哪里? http:// localhost / phpmyadmin /不显示login屏幕 Tomcat服务启动问题 Debian服务器+ PPTP VPN – 连接不工作 在XenServer上使用PV驱动程序进行HVM虚拟化 在特定的工作日(和时间)排定Windows更新? 在VMWare中运行的Windows Server 2008 R2上的磁盘IO裁剪 文件特定的visudo权限 我怎么知道内部的networking允许我使用SSH? Convirt Tool xen实时迁移虚拟化 非Oracle GUI 11g的GUI安装程序版本 如何在EC2上允许内部机器的入站stream量?

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