Hey Mokozuki,
I made multiple tests to understand what is going there. I took your config file and replace the URLS that you provided with my container hostnames. (I am running a docker stack with a haproxy container, and each service on a different container)
Scenario 1: with existing installation
It works. I can use Passbolt normally without CSP errors.
Scenario 2: without existing installation and define URL with https scheme
It works. No CSP errors. Images and CSS are loading normally until the end of the process install.
Scenario 3: without existing installation and define URL with http scheme
I ran into CSP errors. Images and CSS are not loaded but I can still go to the end of the process install.
I run into the same result with your haproxy config and mine. So I think that we can say that your haproxy configuration is correct.
You might be in the Scenario 3. What was the URL that you provided during the setup? If it was with http, can you change it to ‘https’ during the setup? (Step 5 - Options)
Just so you know, if you have already done the full setup and don’t want to do this again, you can still change it afterward. You have different manners to do this:
- Set the environment variable APP_FULL_BASE_URL to your URL with a https scheme
- Override the value ‘fullBaseUrl’ in your passbolt.php file.
Let us know if it works for you! if not we will try to work on it together!
Maxime