服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx proxypass
  3. Nginx proxy_pass将整个请求发送到远程服务器
Intereting Posts
在阻止列表中findIP时,Exchange 2007将忽略白名单(BypassedSenderDomains) 我的云服务器上的IO速度较慢,导致服务器重启问题缓慢? 使用虚拟主机将子域redirect到一个目录 如何使用不带远程root的rsnapshot? 无法使用IP地址连接到本地Mysql,但可以从远程服务器连接到CAN 对备份应用程序最less的特权 请说明Xen,VirtualBox,Sun VM和Oracle VM之间的关系 如何部署滚动操作系统升级和使用Puppet或MCollective重新启动? Apache冻结,如何检测哪个虚拟主机受到攻击? SQL Server似乎需要40GB的RAM,但不断读取磁盘…为什么? Apache / Mongrel / Rails提供两个SSL证书? Proliant ML350 G6 – 安装2TB驱动器只能识别为250GB,并失败 从GRUB列表(Ubuntu)回滚服务器版 安装httpd-2.2.4时出现问题 连接到供电设备6248的服务器接收他们的“邻居”

Nginx proxy_pass将整个请求发送到远程服务器

我想要phpMyAdmin在另一个端口下运行,并通过/pma/到127.0.0.1:8081所有请求

那是我的Nginxconfiguration

 server { listen 80; ... location /pma/ { proxy_pass http://127.0.0.1:8081/; proxy_redirect off; proxy_set_header Host $host; } location ~ \.php$ { ... } } 

现在,当我请求http://domain.com/pma/phpinfo.php location ~ \.php$接pipe控制,我得到了404。是否有可能总是将请求传递到http://127.0.0.1:8081何时到/pma/ ?

  • 如何通过try_files传递variables?
  • Nginx重写URL的一部分
  • 我在aws的/ usr / share / nginx / main下的nginx主文件大小是5.2GB
  • Nginx:请求文件没有扩展名
  • chroot用户VSFTPD,不能进入文件夹

  • NGINX和Chrome
  • Drupal应用程序加载故障排除
  • 在configuration文件中有多个条件
  • Nginx – 在input不存在的服务器名称时打开第一个项目
  • ProxyPass在nginx中

是。

 location ^~ /pma/ { ... } 

^~会阻止nginx查找正则expression式的位置。

  • NginX重写和绝对资源path
  • NGINX与“serverpool”作为不同的域在相同的Apache服务器的LB?
  • Nginx的configuration文件结构
  • 反向代理PHP:最佳实践?
  • nginx重写所有的HTTPS除了子path?
  • Nginx的如何运行shell脚本通过lua模块的页面加载执行,然后服务目录列表?
  • Nginxredirect导致问题
  • Nginx fastcgi_cache从caching提供服务时隐藏Set-Cookie
  • 在CentOS 7下Nginx下没有WordPress的写入权限
  • Nginx进程被Upstart迷路了

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