Installation issues on platforms with nginx 1.24 and below

Hello everyone :waving_hand:,

You may encounter an issue when installing Passbolt on a fresh environment when using nginx with ssl enabled, and more specifically when running an nginx version prior to 1.25.1.

This is due to a recent change we made to our nginx-ssl.conf template, where we swapped the way we enable the http2 module from the now deprecated listen [::]:443 ssl http2; to the new HTTP2 directive.
Unfortunately, this directive was introduced with nginx version 1.25.1, which isn’t available by default on certain distributions, such as Debian 12 (oldstable) and Ubuntu 24.04 LTS.

As a workaround while we publish a fix for this issue, you can edit the configuration file located under /etc/passbolt/nginx-ssl.conf, comment the http2 on; line and add http2 at the end of both listen directives.

This configuration file should look like this once done:

# Managed by Passbolt
listen [::]:443 ssl http2;
listen 443 ssl http2;
# http2 on;

Thank you for your understanding,
The Passbolt packaging team

1 Like