服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 重写 nginx redirect
  3. Nginx将https的某个页面redirect到http
Intereting Posts
如何从AWS Directory Service检索域计算机的详细信息? 最好的基于Linux的开放源码防火墙与graphics用户界面 有问题与htaccess(国防部重写和redirect) 我如何检查剩余的磁盘配额? RHEL6保留1个旧内核和安全性 构build我的bash命令,以节省我的痛苦 是否有RFC 2821“MAIL FROM”的常见X-Header? 应该是DKIM签名? PHP的mail()函数在CLI中工作,但不在Apache中 大多数端口无法访问 在WSUS中正在降低取代的更新 光纤通道环路与点对点 linux路由第二个内部networking RDP客户端devise用于多个服务器连接? 硬盘驱动器发热问题 围绕不支持IPv6的设备的方法?

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