服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 重写 nginx redirect
  3. Nginx将https的某个页面redirect到http
Intereting Posts
冗余电力系统集成 文档中的示例的IP地址范围 在Windows 2008 R2服务器中,哪些angular色需要更多内存? 日志名称中的variables – nginx 在dell Poweredge T 110(perc s300)上安装linux stream浪汉:从厨师食谱重新加载stream浪汉? 备份Zimbra邮件的开源版本 SecureCookies,HTTPOnly cookies,.Net和SSL卸载 EC2上的弹性search,Heroku上的Web服务器// EC2端口只能从Heroku访问 漫游configuration文件从TS 2008 R2服务器inheritanceIE esc和其他IE安全设置 所有密码都过期了吗? 是否有可能使用环境variables中指定内容的ssh密钥? .htaccess文件不在本地主机上读取 为什么我的pipe理员帐户没有访问权限? apache基准testing有多准确?

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