Execute python files with Nginx

Shannon Burns shannon at nginx.com
Tue Aug 11 17:53:07 UTC 2015


Hi Nitin,

If you are looking for a tutorial on how to get a python application up and running with NGINX check out this tutorial:

https://www.digitalocean.com/community/tutorials/how-to-set-up-uwsgi-and-nginx-to-serve-python-apps-on-ubuntu-14-04 <https://www.digitalocean.com/community/tutorials/how-to-set-up-uwsgi-and-nginx-to-serve-python-apps-on-ubuntu-14-04>

For future reference, Digital Ocean has some really well written tutorials to give you a place to start.
 
Our community is a great place to ask questions once you get stuck. The best way to get help when you are stuck is to send:

*your configuration file
*the error logs you’re getting 
*any other relevant code

I find it most helpful if someone also includes what behavior they are expecting the program to perform and what they are seeing it do in reality. 

Hopefully this is helpful! 

Shannon
Jr. Developer Advocate 
NGINX

> On Aug 11, 2015, at 10:33 AM, Nitin Solanki <nitinmlvya at gmail.com> wrote:
> 
> Hi Daniel,
>                   I am not using Django. I am using core python files. Is it possible with it?
> 
> On Tue, Aug 11, 2015 at 6:21 PM, Daniel Theodoro <daniel.theodoro at gmail.com <mailto:daniel.theodoro at gmail.com>> wrote:
> Hi Nitin,
> 
> If you're using django you can follow these steps:
> 
> https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-14-04 <https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-14-04>
> 
> Daniel Theodoro
> Cel: 11 99399-3364
> http://www.linkedin.com/in/danieltheodoro <http://www.linkedin.com/in/danieltheodoro>
> 
> • RHCA - Red Hat Certified Architect
> • RHCDS - Red Hat Certified Datacenter Specialist 
> • RHCE - Red Hat Certified Engineer
> • RHCVA - Red Hat Certified Virtualization Administrator
> • LPIC-3 - Senior Level Linux Certification
> • Novell Certified Linux Administrator - Suse 11
> • OCA - Oracle Enterprise Linux Administrator Certified Associate
> 
> On Fri, Aug 7, 2015 at 5:12 PM, Nitin Solanki <nitinmlvya at gmail.com <mailto:nitinmlvya at gmail.com>> wrote:
> Hi,
>          Right now, I am not office.. I am from India.. Now, it is 1.42 am. It will be great. If you provide step by step from beginning. Is it possible to mail. Thanks.
> 
> On Sat, Aug 8, 2015 at 12:50 AM Shannon Burns <shannon at nginx.com <mailto:shannon at nginx.com>> wrote:
> Hi Nitin, 
> 
> Would you mind providing a bit more information?
> 
>> On Aug 6, 2015, at 4:53 AM, Nitin Solanki <nitinmlvya at gmail.com <mailto:nitinmlvya at gmail.com>> wrote:
>> 
>> I tried that and getting issues. Unable to configure. I am not getting those steps. Any help you can do by explaining in steps…
> 
> What issues are you running into? Can you copy and paste any errors you’re receiving? 
> 
> Can you provide the configuration file you are using?
> 
> What is the behavior you are expecting and what is the behavior you’re seeing?
> 
>> 
>> On Thu, Aug 6, 2015 at 5:19 PM Alt <nginx-forum at nginx.us <mailto:nginx-forum at nginx.us>> wrote:
>> Hello,
>> 
>> I've never used python with nginx, but there are some examples on how to
>> configure everything here:
>> http://wiki.nginx.org/Configuration#Python_via_FastCGI <http://wiki.nginx.org/Configuration#Python_via_FastCGI>
>> 
>> Best Regards
>> 
>> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260817,260818#msg-260818 <http://forum.nginx.org/read.php?2,260817,260818#msg-260818>
>> 
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org <mailto:nginx at nginx.org>
>> http://mailman.nginx.org/mailman/listinfo/nginx <http://mailman.nginx.org/mailman/listinfo/nginx>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org <mailto:nginx at nginx.org>
>> http://mailman.nginx.org/mailman/listinfo/nginx <http://mailman.nginx.org/mailman/listinfo/nginx>_______________________________________________
> nginx mailing list
> nginx at nginx.org <mailto:nginx at nginx.org>
> http://mailman.nginx.org/mailman/listinfo/nginx <http://mailman.nginx.org/mailman/listinfo/nginx>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org <mailto:nginx at nginx.org>
> http://mailman.nginx.org/mailman/listinfo/nginx <http://mailman.nginx.org/mailman/listinfo/nginx>
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org <mailto:nginx at nginx.org>
> http://mailman.nginx.org/mailman/listinfo/nginx <http://mailman.nginx.org/mailman/listinfo/nginx>
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150811/2434e38b/attachment.html>


More information about the nginx mailing list