服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 重写 nginx redirect
  3. Nginx将https的某个页面redirect到http
Intereting Posts
SLA和OLA有什么区别? 如何在nginx中caching图像,但允许覆盖caching? 临时的DNS服务器 为LAMP服务器安装Apache Lucene 服务器到服务器的数据迁移 hp-ux挂载一个磁盘来恢复数据 gnupg'libgpg-error.so.0没有可用的版本信息' 802.1xauthentication在客户端没有证书 下载时停止IE8重命名文件为.zip? iptables规则来放弃SYN和FIN攻击 木偶2.6.4 .deb包 EV SSL证书并通过Amazon S3 / Cloudfront链接到静态文件 Solaris 10:识别PID及其运行的CPU 将邮件redirect到没有域名的网站 Linux奇怪的问题touch:command not found?

Nginx将https的某个页面redirect到http

如何将特定的https页面redirect到http,例如:
https://example.com/foo – > http://example.com/foo
只为页面foo,没有其他页面。
谢谢。

  • IIS URL重写规则将子目录stream量redirect到https
  • Apache到Nginx的转换(新手)
  • HAProxy / Varnish:redirect一定比例的stream量
  • Nginx重写:删除? 在filename.php之后
  • Nginx重写,重置重写或将扩展添加到特定的目录
server { listen 443; ssl on; location /path/to/your/page { return 301 http://domain.com$request_uri; } ... 

那么你需要相应的块有:

 server { listen 80; ... 
  • 如何使用nginx中的if语句执行多个redirect
  • Nginx重写文件名为目录
  • Apache 2.4.27 mod_rewrite到cgi-bin失败
  • Nginx重写子文件夹到一个子域,并保持一切
  • URL重写无限redirect问题
  • 用一个主机的掩码redirect到另一个主机
  • 如何在GlassFish V3中重写/redirectURL?
  • Nginx的子域名和重写规则
  • IIS7 URL重写模块:强制为root
  • 用多个参数使用.htaccess重写URL

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