Obrigado ao @Seth! Eu definitivamente encontrei uma solução.
- Você deve ter um certificado SSL definido no console da Web no seu servidor openfire.
-
Este certificado deve ser definido no seguinte nginx conf:
server { listen *:80; server_name openfire.example.com; proxy_set_header Host openfire.example.com; location / { rewrite ^(.*)$ https://openfire.example.com$1 permanent; } } server { listen *:443; server_name openfire.example.com; proxy_set_header Host openfire.example.com; #The port used for secured Admin Console access: set $openfire_port 9091; #IP address for machine running openfire server: set $openfire_ip 192.168.2.33; ssl on; ssl_protocols SSLv3 TLSv1; ssl_certificate /etc/letsencrypt/live/openfire.example.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/openfire.example.com/privkey.pem; location / { proxy_pass https://$openfire_ip:$openfire_port; } }