服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx proxypass
  3. Nginx – 将非根位置分配给proxy_pass
Intereting Posts
我如何得到/ dev / random在Ubuntu虚拟机上工作? RAID5arrays问题 – 首先复制数据或更换驱动器 nginx:正则expression式匹配不等于? Tomcat日志中的时间戳记是错误的 在registry中findXP客户端的DNS设置? 每个用户脚本的Unix配额 Debian,如何将文件系统从ISO-8859-1转换为UTF-8? 在非域join的服务器上进行时间同步 根据主机名而不是IP地址授予对MySQL实例的访问权限? LXC上的IOTOP – > Netlink错误 仅限用户使用某些应用程序 Windows Server的替代品? 在PASE上是否有等同的命令? 在R中给用户组安装privilages但不影响root安装? Hyper-V端口转发

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