In the past, I've written websites in two languages. PHP for smaller sites and Python for larger sites. With this setup, I would run multiple Paster instances to serve each site on a different port and then use nginx to proxy to Paster. This worked fine.
However, I no longer wish to use PHP for smaller sites. I want to use Python. This means the server could be running more than ~50 websites, for example. At this point, it seems silly to be running 50 instances of Paster on 50 different ports.
What's the best alternative here?
Cheers.