• 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

Question Docker Proxy Rules

bluefire56

New Pleskian
Hello together,

I tried to run Rainloop Webmail in a docker image on a subdir (example.com/sub).
upload_2017-12-26_1-19-34.png

Whenever I want to enter this page I get a 404 Error. Did I miss something out?

Second small question:
If I place the container on the main directory and let "let's encrypt" create SSL Certs it doesnt find the .well-known folder. Is there a workaround for the automatic renewal? (Without deleting the Proxy Rule for this).

Thank you!
 

Attachments

  • upload_2017-12-26_1-18-50.png
    upload_2017-12-26_1-18-50.png
    5.5 KB · Views: 7
Hi bluefire56,

What directory used to serve "Rainloop Webmail" in the container? Is it "mail"? Or is it the root of container' web-server? This setting describes a location of service inside the container.

So, https://your-server:8888https://your-server:32768/mail, but not https://your-server:8888/mailhttps://your-server:32768

  • URL. Specify the URL of the website that uses an application running in a container. It can be either the main website or a part of it.
(c) Using Docker
 
Hi bluefire56,

What directory used to serve "Rainloop Webmail" in the container? Is it "mail"? Or is it the root of container' web-server? This setting describes a location of service inside the container.

So, https://your-server:8888https://your-server:32768/mail, but not https://your-server:8888/mailhttps://your-server:32768

The folder structure is the following:
  • rainloop
  • httpdocs
Do I get it right that the volume has to be mapped to httpdocs/rainloop then?

Thank you.


EDIT:
I tried to map the volume to httpdocs/rainloop and set the URL to example.com/rainloop. I restarted the docker container but no result (I get "ERR_CONNECTION_TIMED_OUT" for example.com/rainloop.) :(
 
Last edited:
Is this folder structure from a host? Or is it from a docker-container?
Could you paste a link to Docker Hub with this container or to a tutorial that you use?
 
Hi bluefire56,

What directory used to serve "Rainloop Webmail" in the container? Is it "mail"? Or is it the root of container' web-server? This setting describes a location of service inside the container.

So, https://your-server:8888https://your-server:32768/mail, but not https://your-server:8888/mailhttps://your-server:32768

Hi AYamshanov,

I think I get it. The URL Parameter is the Pointer inside the Container itself. But then I still have the open question if its possible to route the rainloop application to example.com/mail?
upload_2017-12-26_15-58-31.png

Thank you.
 

Attachments

  • upload_2017-12-26_15-58-13.png
    upload_2017-12-26_15-58-13.png
    10.1 KB · Views: 5
Back
Top