Merge pull request #309 from diwakar-s-maurya/patch-2

Update env-configuration.md to add information about env var CONTENT_SECURITY_POLICY
This commit is contained in:
Timothy Jaeryang Baek 2024-12-08 23:00:29 -08:00 committed by GitHub
commit 6a922206b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -349,6 +349,12 @@ requests initiated by third-party websites, but only over HTTPS.
- Default: `False`
- Description: Sets the `Secure` attribute for session cookies if set to `True`.
#### `CONTENT_SECURITY_POLICY`
- Type: `str`
- Description: Sets the `content-security-policy` HTTP header
- Example: `default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' https://* data:; child-src 'none'; font-src 'self' data:; worker-src 'self';`
#### `AIOHTTP_CLIENT_TIMEOUT`
- Type: `int`