GoToSocial/docs/getting_started/reverse_proxy
Daenney 3aedd937c3
[feature] Set Content-Security-Policy header (#2095)
This adds the CSP header with a policy of only loading from the same
domain. We don't make use of external media, CSS, JS, fonts, so we don't
ever need external data loaded in our context.

When building a DEBUG build, the policy gets extended to include
localhost:*, i.e localhost on any port. This keeps the live-reloading
flow for JS development working. localhost and 127.0.0.1 are considered
to be the same so mixing and matching those doesn't result in a CSP
violation.
2023-08-11 13:20:56 +02:00
..
apache-httpd.md [feature] Set Content-Security-Policy header (#2095) 2023-08-11 13:20:56 +02:00
caddy.md [docs] Revamp the installation guide (#1877) 2023-06-10 11:13:04 +02:00
index.md [docs] Revamp the installation guide (#1877) 2023-06-10 11:13:04 +02:00
nginx.md [docs] Add certificates and firewalling to advanced (#1888) 2023-06-13 16:30:09 +02:00
websocket.md [docs] Revamp the installation guide (#1877) 2023-06-10 11:13:04 +02:00