Thanks ;) On Feb 23, 11:43 pm, Ahmed Sameh <ahmedsa...@3mates.com> wrote: > Hi rick, > > I have installed it but there is a problem using routes.py with NGINX > +FCGI , I have posted about that earlier. > But using NGINX + CherrPy + web2py works fine and you can find many > other posts discussing that. > > I think that NGINX + FCGI is so much faster than NGINX + CherryPy, I > will benchmark the performance soon. > > Here is my notes about installing NGINX + FCGI + web2py : > > NGINX ------> Socket file <------- web2py > > 1- Have the latest release of NGINX. > > 2- Edit the configuration file of your site so that it can use FCGI as > follows: > > fastcgi_pass unix:/tmp/web2py.sock; > include fastcgi_params; > > 3- Edit fcgihandler.py which is located in the root directory of > web2py, change the socket file to web2py.sock > > 4- Run fcgihandler.py --> python fcgihandler.py > > 5- Change the permissions of /tmp/web2py.sock to something that is > accessible by NGINX and web2py, > for testing use chmod 777 /tmp/web2py.sock > > On Feb 23, 5:39 pm, rick <rmartin2...@gmail.com> wrote: > > > Can anyone share his experience installing and working with web2py on > > nginx? > > Which if the best install approach? fastcgi? > > > Any hints will be appreciated, > > Brgds
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.