enwaiax / x-ui

x-ui in docker version
MIT License
177 stars 61 forks source link

How to enable TLS? #22

Closed reg3xp closed 1 year ago

reg3xp commented 1 year ago

I have placed cert.pem and private.pem for the subdomain inside container /root/cert/ and added the path in panel like /root/cert/private.pem and /root/cert/cert.pem but TLS doesn't work.

enwaiax commented 1 year ago

I would suggest you use Nginx to reverse it https://github.com/Chasing66/x-ui#how-to-enable-ssl-to-your-x-ui-panel