|
|
|
|
|
by JonAtkinson
5070 days ago
|
|
The first line of this post mentions: "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/