• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • 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.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

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