• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Howto route subdirX to port:subdirY with plesk and nginx

omight

New Pleskian
How can I route subdirX to port:subdirY with plesk and nginx?

Hi forum,

I read:
http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=70837.htm

I have a fresh installation of linux plesk 11 with a domain configured and the following setup:
server.com/ -> wiki (routing already working)
I use the standard plesk setup, nginx is enabled.

Does anyone know how route the following:
server.com/ -> wiki (routing already working with plesk)
server.com/application_1 -> localhost:8000/application_1
server.com/application_2 -> localhost:9000/application_2

On my other servers I would use the following setup:
# rewrite / to port 7000 (apache)
location / {
rewrite ^/$ /wiki break;
proxy_pass http://localhost:7000/;
}

# rewrite /application_1
location /application_1 {
proxy_pass http://localhost:8000/application_1/;
}

# rewrite /application_2
location /application_2 {
proxy_pass http://localhost:9000/application_2/;
}

I don’t know where to configure the routing for application_1 and _2 in plesk.
Thanks for any pointers!
 
Last edited:
* bump *
Does anyone have an answer for this? I thought that routing traffic to a specific port would be one of the most basic features in plesk?
 
Back
Top