Richard Penman
Let webfaction serve your static content

25 Nov 2011

Create a static symbolic link application:

Name: web2py_static  
App category: Symbolic link  
App type: Symbolic link to static-only app  
App doc: This creates a symlink from ~/webapps/ to theabsolute path specified in the extra info field.  

Then in your website mount this at /static

Now requests to static files will be handled directly by webfaction and never reach your app.

blog comments powered by Disqus