We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1 通过环境变量启用helmet中间件: STEEDOS_HTTP_ENABLED_HELMET=true 默认值为false 2 通过使用项目根路径下的steedos.config.js中settints.helmet = {...} 来显示自定义helmet配置. 例如:
... settings: { helmet: { contentSecurityPolicy: false, crossOriginEmbedderPolicy: false, crossOriginOpenerPolicy: false, crossOriginResourcePolicy: false, } ... } ...
helmet 使用文档: https://helmetjs.github.io/#get-started
The text was updated successfully, but these errors were encountered:
[Feature]: 使用helmet中间件自定义http安全策略 #7020
a40f870
b072ca9
baozhoutao
No branches or pull requests
Summary 摘要
1 通过环境变量启用helmet中间件: STEEDOS_HTTP_ENABLED_HELMET=true 默认值为false
2 通过使用项目根路径下的steedos.config.js中settints.helmet = {...} 来显示自定义helmet配置. 例如:
helmet 使用文档: https://helmetjs.github.io/#get-started
Why should this be worked on? 此需求的应用场景?
The text was updated successfully, but these errors were encountered: