Reading a bit more on internet, I understood (dont know if correctly) that 
wsgi section should be put in productiion.ini of my TG product.
Here is the productio.ini file -> http://pastebin.com/GfVijDUc 
Running uwsgi inside by virtualenv with command runs.
   uwsgi --ini production.ini
But I dont know whether it is working properly. Going to 127.0.0.1 on my 
browser shows only the default nginx page. The moment I try to delete  the 
default page via deleting the /etc/nginx/sites-available/default , it 
browser shows 404 error at 127.0.0.1
I will try some other things....
On Monday, 25 June 2012 17:32:34 UTC+5:30, Alessandro Molina wrote:
>
> I have always deployed using mod_wsgi so I cannot really help with 
> specific uWSGI configuration, maybe other users can be more useful 
> than me on this. 
>
> The suggestion I can give you is to look for documentation about uWSGI 
> and Pylons, most of the guides that work with Pylons should work with 
> TG too. 
>
> On Sun, Jun 24, 2012 at 8:12 PM, alind 
> <[email protected]<[email protected]>> 
> wrote: 
> > Hi all. We have developed one application for in-house usage using TG. I 
> > want to host it on nginx and uwsgi (attempting to learn them via  tg 
> > hosting). 
> > I am unable to get it done by reading on the web. My tgenv virtualenv is 
> at 
> > /home/web/tg2unsenv 
> > I am using Debian. 
> > My tg 2.2 application is at /home/web/projects/example22/ 
> > My /etc/nginx.conf -> http://pastebin.com/2LrCZizm 
> > My /etc/nginx/sites-enabled/gmatweb_nginx.conf -> 
> > http://pastebin.com/Kj4Htjbd 
> > My /etc/uwsgi/apps-enabled/vhost.ini -> 
> > http://pastebin.com/aUynQumx 
> > 
> > Can somebody guide me where I am wrong or the (huge) gap in my 
> > understanding. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "TurboGears" group. 
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msg/turbogears/-/vNEdfq9kNU0J. 
> > To post to this group, send email to [email protected]. 
> > To unsubscribe from this group, send email to 
> > [email protected]. 
> > For more options, visit this group at 
> > http://groups.google.com/group/turbogears?hl=en. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/ljXXVFhtnjYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to