• 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.

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