I am trying to set up Passbolt behind NGINX proxy. I read and followed the instructions from similar topics, but it still doesn’t work. I mean, when i try to access passbolt with http://IP_ADDRESS/passbolt it shows “Sorry this application uses javascript…”
Here is my core.php file (uncommented img, js and css web paths ):
Configure::write(‘App.fullBaseUrl’, ‘https://10.241.xx.xx/passbolt’);
/**
- Web path to the public images directory under webroot.
- If not set defaults to ‘img/’
*/
Configure::write(‘App.imageBaseUrl’, ‘img/’);
/**
- Web path to the CSS files directory under webroot.
- If not set defaults to ‘css/’
*/
Configure::write(‘App.cssBaseUrl’, ‘css/’);
/**
- Web path to the js files directory under webroot.
- If not set defaults to ‘js/’
*/
Configure::write(‘App.jsBaseUrl’, ‘js/’);
And here is my NGINX conf file:
server {
listen 80 default_server;
location / {
try_files $uri $uri/ =404;
}
location /passbolt {
proxy_pass https://10.241.xx.xx:8082;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
Any suggestions?
Thanks