• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Question How to password protect website hosted with docker

ksdmg

New Pleskian
So I have a docker container that I want to expose through plesk. I have set it up and it's all working fine, however, when using the "Password Protected Directories" function on the website I have set the docker proxy rule for, it just proxies the connection right through to the container and does not ask for the password.
How can I achieve a secure protection to access the docker container?

Here is my setup in detail:
  • Website setup as web hosting in plesk
  • Docker Proxy rule for root url (subdomain.domain.xxx/)
  • Password protected directory for url "/"
 
Back
Top