请求端nginx修改X-Frame-Options

location /dashboard/db {
proxy_hide_header X-Frame-Options;//忽略返回头的X-Frame-Options
add_header X-Frame-Options SAMEORIGIN always;//设置X-Frame-Options
proxy_pass http://172.16.100.41:13000/dashboard/db;
}

相关推荐

nginx pagespeed config

# Enable pagespeed module by putting the following in http context pagespeed on; pagespeed Domain example. …

暂无评论

微信扫一扫,分享到朋友圈

请求端nginx修改X-Frame-Options