Closed bonny1992 closed 7 months ago
Specifically this is about these two settings tweaks here: https://github.com/saltyorg/Saltbox/blob/682a669bc7130df630fa9bbf1163cfe8787f2c9c/roles/qbittorrent/tasks/subtasks/post-install/settings/main.yml#L58-L80
In the case of using theme.park you would probably just modify
qbittorrent_themepark_headers: "\"content-security-policy: default-src 'self'; style-src 'self' 'unsafe-inline' theme-park.dev raw.githubusercontent.com use.fontawesome.com; img-src 'self' theme-park.dev raw.githubusercontent.com data:; script-src 'self' 'unsafe-inline'; object-src 'none'; form-action 'self'; frame-ancestors 'self'; font-src use.fontawesome.com;\""
Describe the problem If using qbittorrent with themepark enabled with organizr, if you put it in iframe it won't work. It's because the themepark role sets the
frame-ancestors self
custom HTTP header in qbit's option.Describe any solutions you think might work I solved it by using this header:
(I'm unsure whether adding the internal address does something or not to be fair) Using the config file or the inventory system we could set add additional domains to the "base" install of themepark within Qbit, like this maybe:
and Saltbox can add it alongside the original
self