Hello @michaeladam and welcome to the Cloudron forum
Yes, the Cloudron forum.
Since you have stated:
@michaeladam said:
I just set up docmost on my server via docker compose behind a nginx.
Unfortunately you are not a Cloudron user, thus we can't really provide you with any help here.
We fixed this issue by configuring the following https://git.cloudron.io/packages/docmost-app/-/commit/afc7e7df88589c0cfdfdf60947edace8e2249b3f
Maybe you should try Cloudron? It makes self-hosting @docmost a lot easier.