by JonAtkinson · 14y ago · 0 comments
"Phusion Passenger is an Apache and Nginx module for deploying Ruby and Python web applications."
... yet I can't see any further mention of Python support in any of the linked roadmap posts, or on https://www.phusionpassenger.com/enterprise - does anyone have any more information about Python support?
In a nutshell, you put your WSGI application code in passenger_wsgi.py. Point the virtual host's document root to the 'public' directory, and it just works. Very similar to Rack/Rails support, with passenger_wsgi.py substituting config.ru. See this for an example of Django on Phusion Passenger: https://github.com/kwe/passenger-django-wsgi-example/
Basically you can just drop in a WSGI python app, and we will serve it up :)