added comment regarding CSP

Closes #11
This commit is contained in:
Johannes Erwerle 2026-10-21 22:11:16 +02:00
parent 26f3d5d033
commit 6013d0bcab

View file

@ -177,3 +177,13 @@ BORG_SERVER_PUBKEYS = [
),
]
```
## Webserver Config / Content-Security-Policy
This page by itself does not load external sources and does not use inline javascript/styling.
It only loads javascript, CSS and images.
Therefore the following Content-Security-Policy should work fine in the standard cases:
```
Content-Security-Policy "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self';"
```