Reverse Proxy with Nginx and Inverse

Hello,
I installed latest Inverse plugin on Openfire 4.8.3 and is working without problems on https://openfire.test.com:7443/inverse/
Now I’d like to configure a reverse proxy in Nginx so I can reach Inverse on https://blabla.test.com with this configuration

server {
    server_name  blabla.test.com;
    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/blabla.test.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/blabla.test.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot


    location /http-bind/ {
        proxy_pass https://openfire.test.com:7443/http-bind/;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_ssl_verify off;   
        proxy_ssl_verify_depth 2; 
    }


    location / {
        proxy_pass https://openfire.test.com:7443/inverse/;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_ssl_verify off;   
        proxy_ssl_verify_depth 2; 
    }
}

Can you help me?
Thank you

Do you see any relevant errors in the console log of your browser? When the web application gets loaded, what endpoint does the browser attempt to use to communicate with Openfire?

Although I’ve not tried this setup myself, you may get better results by adding an Openfire system property named inverse.config.bosh_service_url and make its value equal to the URL that the browser should invoke (eg https://blabla.test.com).

Hello Guus and thanks!
I revolved using the standalone installation of conversejs :slight_smile: