My domain is: cespedes.fr
My web server is (include version): Swag(Nginx/Fail2ban/LetsEncrypt-Docker) 2.10.0-ls300
The operating system my web server runs on is (include version): Debian/Raspberry Pi OS
My hosting provider, if applicable, is: self-hosted
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 2.10.0 through Swag
Hello, I have a problem of integration of Swag and Ejabberd (dockerised) in order to fetch LetsEncrypt certificates. I have found no example of Swag/Nginx configuration for Jabber. Jabber wants direct access to port 80 of the host in order to fetch the LE certificate, and so does Swag. As of now, I have to de-activate Swag, route ports 80:2080 to fetch the cert, the reactivate Swag and re-route 80:80. I suppose there is a seamless way either to share the cert fetched by Swag with Jabber, or to have Swag transport the cert dedicated to Jabber. Do you have a simple nginx.conf and/or ejabberd.yml related to that issue ?
I have looked at this tutorial but it is hard to apply to a dockerised context.
Thanks a lot