Hi
I am trying to setup CryptPad behind traefik.
Officially supported is NGINX, i managed to make it work with secure headers but to enable xlsx import/export it requires setting headers for
Cross-Origin-Resource-Policy
Cross-Origin-Embedder-Policy
is it at all possible in traefik?
under NGINX it would look like that:
Thank you, but I think i understand the problem now.
Thanks to you I can add various required headers, the problem is that the CryptPad requires quite complex header logic that differs depending not only on domain but also on content.
Nginx seems to have ability to work with variables that are analysed and set while the config file is processed in the context of a request.
The nginx CryptPad config is therefore complex but manageable.
I don't think that traefik has this ability.
If I am correct, it would mean that I have to prepare middleware for each of the variances.
Right now I would know how, but that's beyond my ability to force myself to do the work.