服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx
  3. Nginx中的proxy_pass uri中的主机名的正则expression式
Intereting Posts
托pipe公司阻止谷歌机器人和爬虫 如何更改Exchange邮箱连接到哪个AD帐户而不删除该帐户? 我可以在服务/守护程序脚本中使用Bash解释器吗? opendkim需要libcrypto 具有NAT +桥接networking的KVM客户端 mxtoolbox.com的“SOA序列号格式无效”警告 – 为什么? 具有虚拟化远程桌面会话主机的GPU 如何在AWS Auto Scaling组中configuration扩展策略? Racktables / Rackmonkey任何有用的机架pipe理软件在那里? Windows Server 2008 R2 + Hyper-V环境中的Linux 在Ubuntu服务器上自动启动C#Mono应用程序 从XP到Windows 2008 R2的SMB访问 在SQL Server中“永久”设置跟踪标志? 备份还原跨机器IIS 6.0设置 curl无法获得本地发行人证书

Nginx中的proxy_pass uri中的主机名的正则expression式

我想做一些事情:

server_name ~^(www\.)?(?<subdomain>[^.]+).example.org$; location / { proxy_pass "http://example.org:8080/$subdomain"; } 

  • nginx&php-fpm和自定义标题
  • Nginx Mod重写 – 将* .png重写为* .php
  • nginx和varnish for caching forcing ssl
  • Nginx和Lua:黑客,优化和观察
  • 当响应位置的域变化时,使用nginx的proxy_redirect

未经testing,但给这个镜头:

 server_name ~^(www\.)?[^.]+.example.org$; if ($host ~* ^(www\.)?([^.]+).example.org$) { set $subdomain $2; } location / { proxy_pass http://example.org:8080/$subdomain; } 
  • 使用Varnish作为负载平衡器
  • 使用Nginx / Varnish / Apachelogging客户端IP
  • 通过nginx服务fastcgi
  • 403在nginx上禁止
  • nginx try_files处理两次,如果错误后备设置失败
  • PHP-FPM停止响应并死亡
  • 如果使用Nginx,是否使用Elastic Beanstalk?
  • 独立/单独的服务器作为其他节点的PHP处理器
  • 使用nginx防止304未修改的请求
  • nginx + apache2.4 + php-fpm – SERVER 和php_admin_value

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