服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. https nginx redirect
  3. nginx – 将https://subdomain.example.comredirect到https://example.com
Intereting Posts
hylafax +调制解调器(USR Sportster Flash X2)+ MODEM TIMEOUT:从调制解调器读取线路 什么是Windows 2008 R2中的registry文件的位置 在unix(Ubuntu)如何运行一个服务,或作为某个用户的应用程序? 在vhost.conf中可以有多个<Directory>吗? Innodb查询缓慢 在MacOS X 10.6 Snow Leopard(也许是FreeBSD)中,透明代理使用SYN_RCVD插槽, 使用dovecot从文件夹结构中发送电子邮件 在服务器安装,更新和颁发新证书期间,capolicy.inf是全部(或部分)处理的 找不到pdflush线程? ssh:一个非root用户“PAM帐户configuration拒绝访问”,但不是另一个 DNS服务器 – 2个域 – 2个DNS服务器 – 在1个LAN中的两个域之间复制DNS 什么监控解决scheme的服务器,数据库和Web应用程序 Nagios或Hyperic? 虚拟机上的Postfix / Dovecot。 理解港口的问题 APC(中继)安装与PHP 5.4失败 用Logrotate旋转日志的一个子集

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