Open RedaBousserhane opened 3 weeks ago
Hi! I'm not an expert about it but you need to set up a reverse proxy like Traefik. Then you need to configure your domain to the tag or name of the container you want to redirect in the compose.yml file. Traefik use a open SSL provider to set a https with the domain you set.
Or you can use nginx or apache reverse proxy
<VirtualHost 127.0.0.1:443>
ServerName windows.elhacker.net
SSLEngine On
SSLCertificateFile /home/ssl.cert
SSLCertificateKeyFile /home/ssl.key
ProxyRequests Off
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyPreserveHost On
ProxyPass / http://localhost:8006/
ProxyPassReverse / http://localhost:8006/
</VirtualHost>
Is your question not already answered in the FAQ?
Is this a general question and not a technical issue?
Question
how to enable SSL (HTTPS) on docker ?