• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Question LiteSpeed reverse proxy to docker with SSL

datafix

New Pleskian
Server operating system version
AlmaLinux 8.7
Plesk version and microupdate number
18.0.48
I have set up a web server in docker but I can't figure out how to get SSL to work. Without SSL it works fine but when accessing with https:// it throws the Plesk default page. Seems that the proxy rule is not configured right. SSL-certificate is handled by certbot inside the same docker container with web server.

- In LS WebAdmin I have tried changing the address from 172.17.0.3:80 to 172.17.0.3:443 and currently it's the one on screenshot.
- On docker container I have published these ports: 49101:443 and 49100:80
- I can access the site in docker with SSL if I'm using https://mydomain.com:49101
- I have tried using Plesk's Docker Proxy Rules for port 443 but it doesn't work either.
- Tried enabling/disabling SSL/TLS support in hosting settings
- Hosting type for the domain is Website hosting

Thank you in advance, your help is very appreciated!
 

Attachments

  • Screenshot 2022-12-07 at 18.51.01.png
    Screenshot 2022-12-07 at 18.51.01.png
    36.7 KB · Views: 7
  • Screenshot 2022-12-07 at 18.50.45.png
    Screenshot 2022-12-07 at 18.50.45.png
    67.3 KB · Views: 7
O.k., got it. I overlooked the "LS". Anyway, here is 3rd party guide for what you wish to achieve, maybe it can help?
 
O.k., got it. I overlooked the "LS". Anyway, here is 3rd party guide for what you wish to achieve, maybe it can help?
I have read that earlier maybe five times in case I missed something but no luck :D
 
Back
Top