I am trying to replace an apache setup with nginx/uwsgi on my home network
as a pilot project for a more formal setup on a server where I am deploying
an app.

With the help of people on this list I could change my Webfaction
configuration to nginx/uwsgi but on a plain Debian computer I am making no
progress.

I am runing Debian unstable on my home computer and Debian stable on the
server. On both I could get the ubuntu-setup script that comes with web2py
to set up apache/web2py successfully.  However, the script
setup-web2py-nginx-ubuntu, modified to use Debian packages and paths and
not ubuntu ones, only produces an nginx running and answering with *502 Bad
Gateway*.

I then purged all the uwsgi and nginx packages from Debian and tried the
script at
http://stackoverflow.com/questions/5335153/how-to-deply-web2py-using-nginx.
That also ended with *502 Bad Gateway*.:(

I have read somewhere that nginx is more simple to set up than Apache, but
in this case i have spent several hours reading and trying several setup
scripts and configuration and I got nowhere.

Are there anybody running a nginx/uwsgi/web2py setup on Debian?  If so, are
you willing to share some knowledge that can help me?

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

Reply via email to