Domain problem passbolt

Hi,

I guess you still have /etc/nginx/sites-enabled/default.conf file on your Ubuntu server. It is the default config of nginx, you can delete it:

sudo rm /etc/nginx/sites-enabled/default.conf

Then reload nginx:

sudo systemctl reload nginx

Then you will have only passbolt virtualhost enabled. One other thing you can try is to check if ssl force is set to true in passbolt section of your /etc/passbolt/passbolt.php file:

    'passbolt' => [
        // GPG Configuration.
        // The keyring must to be owned and accessible by the webserver user.
        // Example: www-data user on Debian
        'gpg' => [
            // Main server key.
            'serverKey' => [
                // Server private key fingerprint.
                'fingerprint' => 'xxxxxx',
                'public' => CONFIG . DS . 'gpg' . DS . 'serverkey.asc',
                'private' => CONFIG . DS . 'gpg' . DS . 'serverkey_private.asc',
            ],
        ],
        'registration' => [
            'public' => false,
        ],
        'ssl' => [
            'force' => true,
        ]
    ],

Best,

2 Likes