I’ve found a solution, after few days of searching !
Thanks for your help, i understand how it work the server block and location in NGINX.
First, i will reinstall by sources because the package configure nginx automatically.
Cause, with the package, when i try to modify passbolt.default.php, this configuration was not loaded.
So, by sources, i can modify this configuration before that nginx was configured.
I’ve modified this file : “/etc/passbolt/passbolt.default.php”, with ‘base’ => ‘/passbolt’.
Then i run the install script.
After that, i’ve deleted the nginx-passbolt.default.conf in /var/www/nginx/sites-enabled/ and i put this conf in the default configuration in /var/www/nginx/sites-enabled/:
[...]
location ^~ /passbolt {
alias /var/www/passbolt/webroot;
try_files $uri $uri/ @passbolt;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_pass 127.0.0.1:9000;
}
}
location @passbolt {
rewrite /passbolt/(.*)$ /passbolt/index.php?/$1 last;
}
[...]
And, now I can access to my Passbolt by http://localhost/passbolt !
Hope that can help someone else.
Regards !