• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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: 5
  • Screenshot 2022-12-07 at 18.50.45.png
    Screenshot 2022-12-07 at 18.50.45.png
    67.3 KB · Views: 4
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