Replies: 1 comment
-
This is an expected behaviour when using reverse proxies, because they terminate the connection between client and backend. For containers I usually always use traefik as an reverse proxy because you dont need to reconfigure it for each backend.
BUT! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody.
I started to host paperless-ng on a remote server which is accessible via an Nginx-proxy. I'm nowhere near a security expert and all I do is read and pretty much copy-paste code from StackOverflow and GitHub threads, but two things I would like to discuss which might be helpful for future users of paperless-ng.
...are not set in the paperless-ng settings.py
I have no clue if they are important when being used behind a proxy but except for the SECURE_SSL_REDIRECT one at least can activate them without Nginx throwing errors.
Second:
To increase security (according to Mozilla observatory) one could add some additional headers.
Maybe this would be a helpful hint for the documentation?
I'm kind of stuck with a useful Content-Security-Policy header. Does anyone of you have any ideas about what could work without breaking Angular and the CSS?
Beta Was this translation helpful? Give feedback.
All reactions