nginx配置:
server { listen 80; location / { proxy_hide_header X-Frame-Options; #隐藏掉返回头部 proxy_pass http://xxxxx; #网站如果配置了http跳转https,将http://换成https:// } }
但是可能出现很多跨域问题
https://juejin.cn/post/6844904195183624200
http://www.ayqy.net/blog/%E6%89%93%E7%A0%B4iframe%E5%AE%89%E5%85%A8%E9%99%90%E5%88%B6%E7%9A%843%E7%A7%8D%E6%96%B9%E6%A1%88/