服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 重写 nginx redirect
  3. Nginx将https的某个页面redirect到http
Intereting Posts
如何调整nginx keepalive_timeout? Nginx-rtmp-module边缘节点如何从多个主节点抽取stream 如何在Ubuntu服务器上设置默认的外部IP地址? 机器join到Windows域时使用什么协议? Windows Server 2008数据中心 – 故障转移群集:取消群集 澳大利亚网站的最佳亚马逊AWS地区? 使用旧电脑和远程虚拟机的公共接入terminal解决scheme是什么? 如何configuration`sshd_config`使fail2ban可以看到机器人 Bash:调用shell脚本,但不要等待返回码 将SCO OpenServer 5.0.5分区转换为VMDK / VDI / VHD? 在Internet Explorer 8中使用Virtual Server 2005pipe理网站是否有解决方法? VSphere 4.0上的SQL Server性能 在位置限制nginx的remote_user方法 USB声卡驱动程序的要求 configurationIIS7.5以允许调用asmx Web服务

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