服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx
  3. Nginx域到子域redirect
Intereting Posts
Windows Server 2008 R2备份包含具有MSSQL数据的卷 OpenShift / MySQL错误:从OS X迁移到OpenShift时出现lower_case_table_names错误 将OSX 10.6集成到NIS / netgroup / automount基础架构中 服务器RAID 1无法重build,无法启动到Windows 使用移动宽带棒创buildAd Hocnetworking 我如何redirect从Windows 2008服务器到连接的远程桌面客户端用户的mailto调用 格式化时出现“磁盘卷被写保护”错误 Tomcat部署错误 Google Cloud SQL授权自动比例实例组 很多不同的域名,1台服务器 什么是边缘服务器/路由器/设备? 从SSH代理使用特定的转发密钥? iptables禁止ip 如何通过SSHterminal执行cron? 内存> 3GB的64位SQL Server 2005

Nginx域到子域redirect

我想将example.com所有stream量redirect到test.example.com ,我已经为此写了以下规则:

 server { server_name example.com; # change to match your URL return 301 $scheme://test.example.com$request_uri; } 

但它不工作。

PS:我已经在子域上安装了SSL证书。

  • Nginx重写所有虚拟主机的规则
  • Nginx和Apache设置与php-fpm问题。 随机nginx坏网关
  • Apache / nginx:固定客户端证书和FastCGI
  • NGINX gzip_static不起作用
  • 服务器ip更改后,Nginx不会启动

  • 如何在保留用户input的URL的同时使用Nginx来重写和proxy_pass
  • OpenVPN不与nginx共享端口
  • Nginx:从代理logging403
  • Perl和nginxconfiguration
  • 是什么原因使用nginx在HTTP GET请求上“连接”和“等待”秒?
  • Nginx没有响应使用capistrano在aws ec2实例上部署rails应用程序
  • 为特定服务器设置公开的反向代理
  • Nginx从正则expression式分组中返回状态码
  • Nginx只允许目录结尾,没有index.html或index.php
  • nginx proxy_buffering立即向客户端发送响应
  • Nginxconfiguration:504网关超时错误
  • mywebsite.com/wp-admin它redirect到/wp-login.php并显示“File not found”
  • 停止nginx反向代理redirect
  • 仅在需要PHP的请求中删除查询string(忽略静态文件和某些URL)
  • 仅在子文件夹上获取有关SSL的Nginxconfiguration的404

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