docs: add note about separate renderer domain

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2023-03-26 12:01:10 +02:00 committed by Tilman Vatteroth
parent 80eb4c8a1a
commit 57701b5d6c

View file

@ -42,6 +42,10 @@ steal credentials from the rendered note content, because renderer and editor ar
This increases the security of the software and greatly mitigates [XSS attacks](https://en.wikipedia.org/wiki/Cross-site_scripting). This increases the security of the software and greatly mitigates [XSS attacks](https://en.wikipedia.org/wiki/Cross-site_scripting).
However, you can run HedgeDoc without this extra security, but we recommend using it if possible. However, you can run HedgeDoc without this extra security, but we recommend using it if possible.
!!! note
When you want to use a separate domain for `HD_RENDERER_BASE_URL`, your reverse proxy config needs
to be adjusted to direct requests for this domain to the frontend.
## Notes ## Notes
| environment variable | default | example | description | | environment variable | default | example | description |