服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx proxypass
  3. Nginx – 将非根位置分配给proxy_pass
Intereting Posts
Citrix接收器在PC上突然失踪 – Win7 / XenApp 什么会导致Windows 2003 Small Business Server丢失一个月的数据? 防火墙规则基准 Windows Server 2012 Datacenter – 错误0xc004c088 到桥接domU的所有连接都源自dom0公共IP,而不是真正的IP 集成:采用远程呼叫控制(RCC)模式的Avaya Communication Manager(CM)电话的Microsoft Office Communications Server(OCS)2007 R2 无法在ubuntu上configurationcntlm进行NTLM身份validation 如何configurationApache mod_proxy代理Fedora 21上的GlassFish 4.1? KVM在XP Guest上的性能下降 是否有更新版本的模块php5-redis的Ubuntu 16.04? 如何将USB打印机转换为LPT? connect-to-oracle-db-9i server-using-ssh-tunnel-via-putty 开发公司在什么时候需要一个专用的系统pipe理员? RedHat iptables防火墙入口 创build虚拟桥接主机networking

Nginx – 将非根位置分配给proxy_pass

我想要做的是代理请求从http://example.com/proxy/foo到http://localhost:8060/foo

这个configuration代理http://example.com/proxy/foo到http://localhost:8060/proxy/foo

 server { server_name example.com; location /proxy/ { proxy_pass http://localhost:8060; } location / { proxy_pass http://localhost:8040; } } 

  • 如何在从wordpress移植到另一个博客后创build重写
  • 在Nginx上启用gzip
  • php-fpm版本5.4与nginx不断重新启动
  • nginx:禁止访问文件夹,除了一些子文件夹
  • Windows服务器 – 在端口80上运行nginx

  • Nginx的打开的文件太多,是不是worker_rlimit_nofile的设置?
  • 如何在FreeBSD上启用nginx上的aio?
  • 在nginx的proxy_passconfiguration中使用server_namevariables
  • 如何使用nginx + PHP-FPM启用PHP的flush()?
  • nginx和HTTP Referer
 server { server_name example.com; location ^~ /proxy/ { rewrite ^/proxy(/.*)$ $1 break; proxy_pass http://localhost:8060; } location / { proxy_pass http://localhost:8040; } } 
  • SSL通配符证书和“www”
  • 为什么我需要Nginx运行Tornado Web Server(python)
  • 如何在CentOS 6中安装php ssh2驱动的Nginx VPS
  • Nginx错误日志显示奇怪的结果
  • configurationNginx SSL以及非SSL
  • AWS WebServer架构(ELB + iptables)
  • NGINX无法通过IPv6进行服务器响应
  • 某些用户收到不可信的SSL证书警告
  • 为什么Nginx不会为以问号开头的URL返回404错误?
  • 在单个域中托pipe多个Nodejs应用程序

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