服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx proxypass
  3. Nginx proxy_pass将整个请求发送到远程服务器
Intereting Posts
Windows DC 2012到2016年迁移问题 给多个用户访问一个别名 nginx用于本地开发 将Linux自动完成与当前目录的wordlist和文件一起使用 在Linux上创buildWindows分区的映像 configuration只caching一个短期的本地DNSparsing器 为什么我的AWS实例的私有IP位于子网范围之外? 需要HAproxy + Varnish + nginx设置build议 如何在fedora linux 25上永久添加一个辅助IP地址? ssh通过隧道为了configuration自动login www不等于没有www 如何连接本地networking上的VMware Workstation以访问数据库服务器? Windows Server设置了多个网关和指标 使用Linuxlogin域 Windows Server 2008,Dns。 我很困惑

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