服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. https nginx redirect
  3. nginx – 将https://subdomain.example.comredirect到https://example.com
Intereting Posts
Server 2008将不会与NTP同步 AWS CloudFormation将EC2实例SSH密钥提供给其他服务器 RRAS Server 2012 R2不分配networking信息,或者它不传递NAT 是否有可能从WSUS服务器手动删除sccm 2007客户端? 仙人掌 – 中央服务器来检查状态 urpmi数据库被locking 什么不应该由傀儡pipe理? 可以从一个应用程序,而不是另一个发送邮件 由于缺lesspython-genshi,无法完成trac安装 多个DHCP上行链路 – 如何忽略除一个之外的DNS和默认路由? iptables允许本地主机 AD组所有者无法添加新用户 无法显示虚拟机大小 可以拒绝所有NIS用户通过SSHlogin? OpenVPN服务器以太网桥接问题

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