服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. https nginx redirect
  3. nginx – 将https://subdomain.example.comredirect到https://example.com
Intereting Posts
我怎样才能避免只有在我的浏览器上按F5 90 CPU加载? htaccess SSLredirect 2008 Windows Server R2将域networking更改为公用networking重新启动后 KVM中奇怪的桥梁问题 好吧 – 我想我无法将旧站点redirect到新的IP地址 为什么ERP程序如此怪异? 如何在CentOS 5.5 64位上安装mount.cifs? Apache2服务器停止响应 networking负载平衡问题 惠普智能arraysp410i重build百分比不正确的工作 为什么外部域出现在我的apache日志? 邮件服务器试图向收件人发送邮件多长时间? “sched:RT节stream启动”KVM主机 – 这是什么意思? 在registry中findXP客户端的DNS设置? 404存在的文件错误?

nginx – 将https://subdomain.example.comredirect到https://example.com

我想将https://subdomain.example.comredirect到https://example.com 。 这就是我想要的:

 server { listen 443 ssl; server_name subdomain.example.com; return 301 $scheme://example.com$request_uri; } server { listen 443; server_name example.com; ssl on; ssl_certificate /path/to/crt; ssl_certificate_key /path/to/key; # ... } 

去https://example.com请求是好的,但https系统地请求到子域名超时。 有任何想法吗?

  • nginx http – > httpsredirect添加额外的逗号与主机名称
  • 无法使SPDY在Apache 2.2.22(Ubuntu 12.04服务器)上工作
  • 当通过HTTP访问时,域会自动强制HTTPS
  • Sonicwall TZ210问题
  • Haproxy禁用安全重协商
  • nginx – >使用基于cookie的try_files服务不同的文件(条件,如果,然后,其他)
  • 将HTTPredirect到使用IIS的HTTPS不适用于SharePoint站点
  • 代理nodejs站点不通过Apache中的HTTPS加载
  • 如何在R-Shiny-server 1.4上禁用SSLv3
  • 在nginx上允许不安全的连接
  • 反向代理链接是否可以用于HTTPS?
  • iis 7.5 http到httpsredirect不工作,导致错误
  • Apache – 通过HTTPS而不是HTTP延迟
  • IBM IHS反向代理configuration
  • 在Azure上托pipe的WordPress网站上启用SSL

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