Hi,
I installed Passbold in a Proxmox container. The container runs behind a “Ngnix reverse proxy”.
I have installed “Passbold” according to the instructions for Ubuntu.
I have the following error:
The browser does not load CSS or image files and in the console you can find errors:
Refused to load the image '<URL>' because it violates the following Content Security Policy directive: "img-src 'self'".
In the Passbolt Continer I made no further changes.
In the ReverseProxy the site-available/default file is configured that way.
server {
listen 80;
listen 443 ssl;
server_name passbolt.domain.de www.passbolt.domain.de
# ssl on;
ssl_certificate /etc/letsencrypt/live/domain.de/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/domain.de/privkey.pem;
access_log /var/log/nginx/passbolt.access.log;
error_log /var/log/nginx/passbolt.error.log;
if ($scheme = http) {
return 301 https://$host$request_uri;
}
location / {
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://passbolt.domain.de/;
}
The page looks like
A setup without CSS is also not possible, because the database cannot be accessed because of the error.