could not find anything that solved the problem
I am running passbolt (newest current version september 30th 2019) on a CentOs 7 (7.7.1908) in a LXC container on a Proxmox server sitting behind a pfsense router with haproxy to offload ssl.
Passbolt is a clean install, finished the installation pointing me to the webui to finish setup. when I access the webui I get an error:
Refused to load the image ‘XXXX’ because it violates the following Content Security Policy directive: “img-src ‘self’”.
The same goes for the css file.
I have tried some different settings (have not tried altering core.php yet as suggested in some other posts because i want to keep passbolt install as clean/standard as possible), but none have solved the problem.
the pfsense router needs to do ssl offloading, receiving the http request and send it as ans http request to the server. this is actually working, except that the install page looks like 1980’s pre rainbow colored letters markup because it will not load images and css due to the error mentioned above. the content sent back from the passbolt server is sent as http (until it passes the router) so all the links that were generated in php have http:// in front of them instead of https:// which is causing the problems. I have tried adding name: X-Forwarded-Proto, fmt: https to the haproxy settings but it doesn’t fix the problem.
None of the posts about running this in docker gave me any info that fixed this problem. is there anyone here who knows what to change in passbolt to make it all work?