Welcome! Log In Create A New Profile

Advanced

Re: Execute python files with Nginx

Shannon Burns
August 11, 2015 01:54PM
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@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@gmail.com <mailto:daniel.theodoro@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@gmail.com <mailto:nitinmlvya@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@nginx.com <mailto:shannon@nginx.com>> wrote:
> Hi Nitin,
>
> Would you mind providing a bit more information?
>
>> On Aug 6, 2015, at 4:53 AM, Nitin Solanki <nitinmlvya@gmail.com <mailto:nitinmlvya@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@nginx.us <mailto:nginx-forum@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@nginx.org <mailto:nginx@nginx.org>
>> http://mailman.nginx.org/mailman/listinfo/nginx http://mailman.nginx.org/mailman/listinfo/nginx
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org <mailto:nginx@nginx.org>
>> http://mailman.nginx.org/mailman/listinfo/nginx http://mailman.nginx.org/mailman/listinfo/nginx_______________________________________________
> nginx mailing list
> nginx@nginx.org <mailto:nginx@nginx.org>
> http://mailman.nginx.org/mailman/listinfo/nginx http://mailman.nginx.org/mailman/listinfo/nginx
> _______________________________________________
> nginx mailing list
> nginx@nginx.org <mailto:nginx@nginx.org>
> http://mailman.nginx.org/mailman/listinfo/nginx http://mailman.nginx.org/mailman/listinfo/nginx
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org <mailto:nginx@nginx.org>
> http://mailman.nginx.org/mailman/listinfo/nginx http://mailman.nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Execute python files with Nginx

Nitin Solanki August 06, 2015 07:28AM

Re: Execute python files with Nginx

Alt August 06, 2015 07:49AM

Re: Execute python files with Nginx

Nitin Solanki August 06, 2015 07:54AM

Re: Execute python files with Nginx

Shannon Burns August 07, 2015 03:22PM

Re: Execute python files with Nginx

Nitin Solanki August 07, 2015 04:14PM

Re: Execute python files with Nginx

Daniel Theodoro August 11, 2015 08:52AM

Re: Execute python files with Nginx

Nitin Solanki August 11, 2015 01:34PM

Re: Execute python files with Nginx

Shannon Burns August 11, 2015 01:54PM

Re: Execute python files with Nginx

Nitin Solanki August 11, 2015 01:56PM

Re: Execute python files with Nginx

Sanjeev Kumar September 05, 2015 12:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 219
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready