I guess you can use nginx 1.0.1, but I send you what I did and I know that
it works

[nginx]
wget http://nginx.org/download/nginx-0.8.54.tar.gz
tar xvxf nginx-0.8.54.tar.gz
cd nginx-0.8.54
./configure \
  --prefix=/home/yourusername/nginx \
  --sbin-path=/home/yourusername/nginx/sbin/nginx \
  --conf-path=/home/yourusername/nginx/nginx.conf \
  --error-log-path=/home/yourusername/nginx/log/nginx/error.log \
  --pid-path=/home/yourusername/nginx/run/nginx/nginx.pid  \
  --lock-path=/home/yourusername/nginx/lock/nginx.lock \
  --with-http_ssl_module \
  --with-http_flv_module \
  --with-http_gzip_static_module \
  --http-log-path=/home/yourusername/nginx/log/nginx/access.log \
  --http-client-body-temp-path=/home/yourusername/nginx/tmp/nginx/client/ \
  --http-proxy-temp-path=/home/yourusername/nginx/tmp/nginx/proxy/ \
  --http-fastcgi-temp-path=/home/yourusername/nginx/tmp/nginx/fcgi/

[web2py]
wget http://www.web2py.com/examples/static/web2py_src.zip
unzip web2py_src.zip
python2.7 web2py.py #seems needed before using it


[uwsgi]
wget http://projects.unbit.it/downloads/uwsgi-0.9.7.tar.gz
tar xvzf uwsgi-0.9.7.tar.gz
cd uwsgi-0.9.7
make -f Makefile.Py27
mv uwsgi /home/yourusername/bin

#start uwsgi
uwsgi -s /home/yourusername/tmp/uwsgi.sock --pythonpath
/home/yourusername/web2py --module wsgihandler -d
/home/yourusername/tmp/uwsgi.log -t 20 --async 51 --ugreen --limit-as 64 -r
--no-orphans

[memory usage]
ps -u yourusername -o rss,command

Attachment: nginx_webfaction.conf
Description: Binary data

Reply via email to