• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question Plesk Nginx + docker container associated with subdomain how to expose ports to the internet

xdasty

New Pleskian
Hi Guys
I explain to you my problem,
I have a mqtt service in a docker container, with ports
80-> 8080,
1883-> 1883,
8883-> 8883,
8884-> 8884

on plesk nginx is activated in proxy mode

I have set Docker Proxy Rules, and so far it works,
https: //service.domain .com/admin
that points correctly:

the other ports are not resurrected to operate them.

But I wish it worked this way
MQTT: //service.domain.com:1883
mqtts: //service.domain.com: 8883
ws: //service.domain.com: 8884

respectively they will have to point to the docker container with the name service_mqtt at the ports
- 80
- 1883
- 8883
- 8884

I have done several searches for days on the net but, among the tons of information read,
someone has already solved this problem.
Thanks in advance
for any help or suggestions
 
Update:

on the main domain, the one with which plesk is associated works, but the goal is to reach the ports of the docker which is associated with a subdomain of any of the subscriptions.
 
Back
Top