[Enhancement] Allow dynamic configuration of secure headers #1869
Labels
enhancement
New feature or request
good first issue
Good for newcomers
Project for volunteers
The team has no plans to work on it (e.g. lack of time) but an external contribution is accepted
As discussed in #259 Lychee already provides support for custom JavaScript, which makes it possible to add e.g. matomo tracking.
The only problem left is the fact that the security headers prevent loading an external javascript file.
For this use case, it would be enough to add an env var default for securure-headers/script-src/allow[]
I would be more than happy to create a PR for that, but there are a few questions to this from my side:
If thats implemented, would it be also an option to make it part of the documentation? E. g. small section "How to integrate Matomo, Google Analytics". Can also provide the content for that :)
The text was updated successfully, but these errors were encountered: