我使用https://observatory.mozilla.org/analyze测试我的网站,我得到了 F 分数。
原因是:
Content Security Policy (CSP) header not implemented
X-XSS-Protection header not implemented
X-Frame-Options (XFO) header not implemented
...
Run Code Online (Sandbox Code Playgroud)
我使用 CloudFront 为我的网站提供服务。
我将那些丢失的标头放在 CloudFront 的何处?