服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. https nginx redirect
  3. nginx – 将https://subdomain.example.comredirect到https://example.com
Intereting Posts
识别子域别名 AWS ec2并从Grails应用程序发送电子邮件 ES随着时间的推移慢慢堆积起来,挂在14GB,而最大的索引是164MB? 在select服务器托pipe公司时,你会注意什么? Vista的DVD / CD没有看到磁盘的内容,认为这是一个空白的CD / DVD 没有邀请或提醒的Office 365共享日历? 如何使用AIX低级格式化硬盘? 运行Windows 2008 R2最便宜的服务器? 服务器性能下降。 这是硬件的错吗? 目标服务器上的Rsync shell脚本权限错误 Redhat存储locking文件sin / var / lock / subsys,ubuntu是否类似? WDS无人参与文件(语言和WDS身份validation) postfix队列垃圾邮件filter与spampd代理 Centos 7 Selinux问题我想? PHP无法读取或写入 启动Web应用程序时出错

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