Passbolt in docker behind reverse proxy

Hey,
I’m using a nginx-reverse proxy in a docker container. With the following config-snippets:
upstream docker-passbolt {
server passbolt:80;
}
location /passbolt/ {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass (http://)docker-passbolt;
client_max_body_size 100M;
add_header X-Frame-Options ALLOW;
}
Passbolt is in a docker container aswell from here. Both container are connected to one docker network.
In the passbolt.conf I deleted the https configs and changed the location at the http-server to:
location /passbolt/ {
try_files $uri $uri/ /index.php?$args;
index index.php;
}
BaseURL is set to:
Configure::write(‘App.fullBaseUrl’, ‘myURL/passbolt’)
When I access myURL I get the following website

Sorry this application uses javascript. Please activate javascript and try again.
Sorry this application uses cookies. Please allow cookies and try again.

    passbolt
    home
    login

Not Found

Error: The requested address '/passbolt/' was not found on this server.

    Terms
    Privacy
    Credits
    About

It looks like this no style only plain text.
My browser is using javascript and cookies are allowed. In addition the links (“passbolt,login and home”) are redirecting to the myURL and not to myURL/passbolt
healthcheck:
[FAIL] Default value found for security.salt
[FAIL] Default value found for security.cipherSeed
(didn’t change it for the test)
[FAIL] Could not reach the /healthcheck/status with the url specified in App.fullBaseUrl
(I checked the url. It’s set to myUrl/passbolt
[FAIL] SSL peer certificate does not validate
[FAIL] Hostname does not match when validating certificates.
[FAIL] This installation is not up to date. Currently using 1.6.9 and it should be v2.0.0-rc2.
[FAIL] Passbot is not configured to force SSL use
[FAIL] App.fullBaseUrl is not set to HTTPS
passbolt error.log:

2018-03-17 22:35:25 Error: [MissingControllerException] Controller class PassboltController could not be found.
Exception Attributes: array (
‘class’ => ‘PassboltController’,
‘plugin’ => NULL,
)
Request URL: /passbolt/
Stack Trace:
#0 /var/www/passbolt/app/webroot/index.php(111): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 /var/www/passbolt/index.php(41): require(’/var/www/passbo…’)
#2 {main}

myURL=https://myURL

Checklist
[ x] I have read intro post: About the Installation Issues category
[ x] I have read the tutorials, help and searched for similar issues
[ x] I provide relevant information about my server (component names and versions, etc.)
[ x] I provide a copy of my logs and healthcheck
[ ] I describe the steps I have taken to trouble shoot the problem
[ ] I describe the steps on how to reproduce the issue

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.