Are there any docker users who have managed to deploy a container for seafile CE using Lets Encrypt, but with the container on non standard ports ?
As part of the process of the cert generation, letsencrypt tries to download a file that fails due to the fact the container is not available on port 80 or 443 (i map 8043:443 and 8091:80)
I’ve tried sticking the port in the host name during the container build, but that fails also.
Hy!
Probably you could use nginx/apache as a reverse proxy, so you can access multiple services on port 80/443 on different subdomains/subfolders, and only the webserver need the certificate.
Do you have any instructions on how to set up the reverse proxy with apache so that it works with letsEncrypt and seafile? Also, if the host webserver has a certificate with letsEncrypt for the seafile domain, does the reverse proxy need to relay to port 443 in seafile? or it can be pass to port 80 in seafile? not sure at what point the encryption happens.
You configure the Apache to use letsencrypt SSL, and use seafile without SSL. The communication between the client and webserver (Apache) will be encrypted, but in general no encryption needed between reverse proxy and seafile server. (Of course assuming that the network between proxy and seafile is trusted)
One more question, I only used the reverse proxy configuration for seahub and everything seems to be working without using. However, the manual says to add reverse proxy for the seafile-fileserver. Do you know if the reverse proxy for seafile-fileserver is needed at all?