我有一个使用SSL的rails网站https://example.com
我想在我的网站中显示一个可以包含http或https的iframe。
当我在application.rb
文件中设置此设置时,https://google.com似乎工作正常:
config.action_dispatch.default_headers = {
'X-Frame-Options' => 'ALLOWALL'
}
但是,http://google.com似乎没有显示。有谁知道我需要做些什么才能让http://google.com显示在我的iframe中?