Login issues due to Content Security Policy rules when using Nginx Proxy #8686
-
Support guidelines
I've found a bug and checked that ...
DescriptionHello, I'm not sure if it's a Firefly III problem or mine, since I'm experiencing this problem when using Nginx Proxy Manager for my Firefly III installation. Having said that, I continue. For context, install Firefly III in a Docker container running on a Proxmox server. While I use the local IP to access Firefly III the login issue works fine, without any problems. However, when I use the sub-domain (configured with Nginx Proxy Manager) that points to that IP, login time does not work. I checked in the browser's development console and the error they show is that there is a violation of the Content Security Policy (CSP) rules because the sub-domain of Nginx Proxy Manager accesses it from HTTPS but the destination page is embedded in Firefly III header is HTTP and the apparent solution I found is that I need to add a header with my rules (header like this):
I don't know where the header should go or if there is any other way to fix it. Debug informationExpected behaviourFind a way to add the header with the CSP rules and be able to log in normally or another solution that can more practically solve the issue. Steps to reproduce
Additional infoAnother service experiencing issues with Ngnix Proxy Manager is Home Assistant (not the same type of issue) and this is fixed by adding the following code to the configuration file:
I don't know if something similar will exist in Firefly III. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @martirale, You need to set this env variable:
|
Beta Was this translation helpful? Give feedback.
Hey @martirale,
You need to set this env variable: