• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Setting Docker wildfly container for domain

SeScDe

New Pleskian
Hey guys,

I hope somebody could help me, please. I use Plesk Onyx with Docker on Ubuntu 16. I installed wildfly image via Plesk Docker and started wildfly container and disabled automatic port mapping. Source Port is set and fixed to 8080 (from Plesk?) and having target port set to 32123

Now I go to Website & Domains, select my domain "example.com", clicking on Proxy rules, click add.
URL: example.com
Container: wildfly
Port (only thing I can choose): 8080->32123

But if I open http://example.com Port: 8080 I get the tomcat "it works" page. If I open http://example.com I get the Plesk default page. If I open http://example.com:32123 I get WILDFLY landing page.

What I like to have:
If I open http://example.com I should point to Wildfly showing up wildfly landing page!

How to solve my problem? For me it seems, that plesk does not follow the implemented rule because I can't see any changes after setting the rule.
 
Hi,
I guess docker register with this, free register moslty effect also if you can use terminal command via this / docker run -it jboss/wildfly / i installed myself on localhost i didnt get any error with centos 7 up to you but some unit packages i mean linux make me sick too.. i hope did you get backup
 
@SeScDe, deploy container, set up static port mapping (e.g. to 32123). Then go to domain > Apache & nginx Settings and (assuming you're using nginx) do the following:
  1. Deselect "Proxy mode" and make sure no checkboxes in nginx settings block are selected. Click Apply.
  2. Then paste into "Additional nginx directives" configuration to proxy to Docker and click OK:
    Code:
    location / {
            proxy_pass http://127.0.0.1:32123;
            proxy_set_header Host             $host;
            proxy_set_header X-Real-IP        $remote_addr;
            proxy_set_header X-Forwarded-For  $proxy_add_x_forwarded_for;
    }
Viola!
 
Back
Top