服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx proxypass
  3. Nginx – 将非根位置分配给proxy_pass
Intereting Posts
服务器域名在浏览器地址栏中被replace为IP地址 远程桌面工作站是否安全? 如何使用现有操作系统安装在Dell PERC S300上设置RAID 1 如何获得安装文件以及批量许可证或与Microsoft的企业协议? 电子邮件服务器应该如何处理发送给未知用户的邮件? 当第一个LDAPclosures时,多个具有mod_authn_alias的LDAP服务器:failover无法工作? psloggedon超时 运行群集Exchange环境需要什么VMWare软件 403错误; 将不会代理:NginX和Node.js SCP转移不起作用,SSH会冻结 可能使SMIME签名不显示为附件? (例如在Gmail中) 将RFC5452消息发送到/ dev / log 事务拆分 – 读取请求从属 – Google Cloud SQL 更改SQL Server Express 2005数据库文件的逻辑名称? Postfix发送来自未知用户的垃圾邮件

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