Print this page
Sunday, 29 December 2013 22:01

Multiple Web2py Instances with uWSGI Emperor and NginX

Written by 
Rate this item
(0 votes)

 

I figured out how to run multiple instances of web2py. In case I ever wanted to offer hosting for this service. Here is how I did it. Step 1: Setup up Web2py NginX uWSGI (in emperor mode) using this setup script for ubuntu: https://raw.github.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh This will pretty much do everything you need for the main server/hostname setup. To create separate instances of web2py we will repeat the steps as follows in /etc/nginx/sites-available you should have a file called web2py which looks close to this.

 

please see http://www.techshinobi.com/index.php/multiple-web2py-instances-with-uwsgi-emperor-and-nginx/ for the proper formatted version.

Thank you Maboroshi!

Read 2880 times Last modified on Saturday, 18 January 2014 06:45
Maboroshi

Latest from Maboroshi

Login to post comments