• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is 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.

Issue Trying to host domain under "proxy"

dopeboy

Basic Pleskian
so my domain test.ex.nl is pointed to server 1.1.1.1 (static ip) just nginx installed! no plesk.
and there's a simple nginx conf file

Code:
root@ded1:/nginx/sites# cat test
server {
        listen 80;
        server_name test.ex.nl;


        location / {
         proxy_pass http://whost;
         proxy_http_version 1.1;
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection $connection_upgrade;
        }


        location /status {
         vhost_traffic_status_display;
         vhost_traffic_status_display_format html;
        }
}
root@ded1:/nginx/sites# cat /etc/nginx/nginx.conf
http {
    ....
    upstream ucs {
    server 192.168.122.15;
    }

    upstream ghub {
    server 192.168.122.101;
    }
    upstream ludaking {
    server 192.168.122.101:6666;
    }

    #PLESK SERVER IP 2.2.2.2 
    upstream whost {
    server 2.2.2.2;
    }
    ....
}

and my plesk panel is running in a server with ip 2.2.2.2 (static ip) (isn't create from my node like ucs or ghub)
so now i've add domain test.ex.nl on plesk panel but when i visit it i see default page
45f5d23b7b8f40ada199b59d6fdbc0ec.png


is needed to put any port at my upstream conf like 2.2.2.2:7080 ?! i tried but didn't work also i tried :8080 :7081 but didn't work.

can i host a domain like this or not?! i just want to know if there's a direct way not to edit vhost file for domain test.ex.nl and to run it in a different port then to forward ports from server 1.1.1.1.
just i'm searching for a direct way without touching vhost's files and to set a custom port for it :/

Thanks!
 
Back
Top