服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 反向代理 重写 nginx
  3. Nginx:将目录redirect到虚拟服务器
Intereting Posts
BizTalkconfiguration在WCF修补程序安装后中断 启动内存在Hyper-Vdynamic内存中的IIS 7.5 Iptables端口redirect,不丢包 安装和configurationbugzilla的问题 为什么SSH不路由传出包(PPTP)? 非法抓取开源论坛,并发布在我的论坛的线程? 我如何添加到registry项 思科ASA和静态IPv6隧道端点? rpm -Uvh&yum install 寻找一个中央控制台pipe理软件,利用我的RDP凭据访问 SQL查询自动导出到文件和FTP? 与pingdom高响应时间 ASA站点到站点VPN故障 使用链接的服务器跨数据库服务器查询? 具有select性权限的域信任 – 对象权限是否允许通过OU应用进行身份validation?

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