Python on Nginx

etrader nginx-forum at
Tue Oct 11 14:11:14 UTC 2011

The instruction given on is to install
nginx supporting python. But I have a working Nginx with php-fpm
supporting PHP. Now I want to add support of python too. Thus, my config
is slightly different. I successfully installed Python 2.6, Django and
python-flup. Everything went good, but python does not work on web (when
visiting, it downloads the file instead of running the script).

How should modify the nginx config to support python?

Posted at Nginx Forum:,216514,216514#msg-216514

More information about the nginx mailing list