【发布时间】:2015-01-09 09:24:35
【问题描述】:
我有一个只能通过 HTTPS 访问的网站,除了一个 URL 模式(因为我在某些页面上有 http-iframe,我想避免安全警告)
E.g. this pages should be redirected to https:
http://example.com
http://example.com/a/this-is-an-article
http://example.com/v/this-is-a-video
This pages should not be redirected to https (or should be redirected form https to http)
http://example.com/l/page-with-unsafe-iframe
http://example.com/l/other-page-with-unsafe-iframe
【问题讨论】:
-
http iframe 页面是否总是在同一目录/l/?
-
是的,它总是在 /l/ 目录下
标签: nginx