服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 重写 nginx redirect
  3. Nginx将https的某个页面redirect到http
Intereting Posts
nginx auth_basic错误:未find用户,也没有提供用户/密码 用setup来编辑/etc/resolv.conf 在哪里可以findpython结构设置的例子? 如何防止另一个进程在与Apache相同的端口上进行侦听 SFTP用户的文件/目录权限 如何从ISO命令行写入ISO映像到USB记忆棒? 两台服务器中的SSL证书相同 Monit无法发送电子邮件提醒 sftp文件大小限制 尝试在使用dd创build的映像上恢复MDADM RAID 多个服务器用于parsing不同的域 OpenVPN:链中的自签名证书 木偶 – 如何安装不在默认包中的git 1.8.x phpMyAdmin说mcrypt不见了,但事实并非如此。 无法login 我可以将Cloudflare CDN / HTTP代理用于支持SSL的网站吗?

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