Passbolt behind NGINX proxy returns "Sorry this application uses javascript. "

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

Hi @Miodragl!

This issue sounds familiar. Please, take a look on Installing passbolt under https://myUrl/passbolt

@diego thank You for the answer, I read this topic, and now my core.php file looks like this:
*/
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’, ‘/var/www/passbolt/app/webroot/img/’);

/**

  • Web path to the CSS files directory under webroot.
  • If not set defaults to ‘css/’
    */
    Configure::write(‘App.cssBaseUrl’, ‘/var/www/passbolt/app/webroot/css/’);

/**

  • Web path to the js files directory under webroot.
  • If not set defaults to ‘js/’
    */
    Configure::write(‘App.jsBaseUrl’, ‘/var/www/passbolt/app/webroot/js/’);

But honestly, I dont know what should i put in the following line:
//Configure::write(‘App.baseUrl’, env(‘SCRIPT_NAME’));

Thank You, I solved it, now i have other problems, so I created new topic.