Nginx with tornado webserver

Daniel_R

New Pleskian
Hello,

I am trying to configure Plesk to forward a subdomain to a locally running tornado webserver. I am running nginx.

Up to now I just started tornado and had it listening at a certain port. It is working fine if I call subdomain.domain.com:port/page.

However, I would like now to be able to have the subdomain (or even better a set of subfolders) proxied to use the tornado server. I can't really figure out how to do this with plesk. Usually I would edit the config files under /etc/nginx/plesk.conf.d/vhosts/, but they are automatically generated and overwritten.

What is the proposed way to do this? Does anybody already employ something similar?

Best regards
Daniel
 
Back
Top