[web2py] Re: Script for nginx/uWSGI/web2py install on Webfaction

2012-12-19 Thread Neil
Yup, it works, but I think I left out a key step. In more detail: - In the webfaction control panel, set up two different applications. one is a custom type, and one is a static type. - Put a link from the static folder under the web2py application to the static application's home folder - In

[web2py] Re: Script for nginx/uWSGI/web2py install on Webfaction

2012-12-18 Thread HittingSmoke
So I've been thinking more and more about this over the past few days and I'm 99% sure that would just serve the static content in the same exact way it would otherwise (through uwsgi) just from the folder of the other app... Can you confirm that nginx is actually serving the static content

[web2py] Re: Script for nginx/uWSGI/web2py install on Webfaction

2012-12-17 Thread Neil
I'm also not a sysadmin, but I did go through the process of setting up web2py on webfaction recently as well. I also found that script but it seemed to be overly complicated. In particular, there is no need to download, build run nginx, as you can use webfaction's instance. If there is an

[web2py] Re: Script for nginx/uWSGI/web2py install on Webfaction

2012-12-17 Thread Neil
This thread has a more detailed exampled of a script: https://groups.google.com/forum/?fromgroups=#!searchin/web2py/uwsgi$20webfaction/web2py/PWpwayGa4Io/bBVyehyZ3ogJ On Monday, December 17, 2012 12:32:21 PM UTC, Neil wrote: There are a few other posts in this group about selecting good uwsgi

[web2py] Re: Script for nginx/uWSGI/web2py install on Webfaction

2012-12-17 Thread HittingSmoke
Bah, I actually asked a Webfaction staff member if this were possible and I was told no, that the frontend Nginx server could only be used on static/PHP sites. Now that I'm looking into it I'm seeing one major issue that without proper configuration of Nginx for web2py, it would be serving

[web2py] Re: Script for nginx/uWSGI/web2py install on Webfaction

2012-12-17 Thread Neil
What I've done for that is set up another webfaction application of type static to server all the css, images, audio, videos, etc. That creates a new folder, for example: /home/[USER]/webapps/static_web2py_myapp Then, in my web2py/applications/[my_app]/ folder, I put a symbolic link called

[web2py] Re: Script for nginx/uWSGI/web2py install on Webfaction

2012-12-17 Thread HittingSmoke
Hmm, interesting. I'll give it a try and compare RAM usage/performance after I've had more time to record data tinkering with the custom Nginx install. On Monday, December 17, 2012 11:34:51 AM UTC-8, Neil wrote: What I've done for that is set up another webfaction application of type static