服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx
  3. Nginx中的proxy_pass uri中的主机名的正则expression式
Intereting Posts
Apache2 SSLconfiguration – apache总是select第一个基于ip的虚拟主机 简单的networking服务器监控(活着) 打破sshconfiguration后,我不能再通过SSH连接到GCP上的虚拟机 zfs从设备中删除设备 我是否需要将自己添加到crontab组中以执行我的用户crontab? “svchost.exe不能通过防火墙”ftp服务器 24磁盘arrays的RAID考虑 只有一小组可用 服务器认为请求来自我的网关 Exchange 2013:Outlook Anywhere定期断开连接并重新连接 Debian的Apache奇怪 同步Apache和Mysql 切片只是memcache? 是否足够备份整个服务器 – 包括MySQL? 如何为服务水平协议定义适当的度量?

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