Suck-O Time

Support us

Donate using PayPal

Amount:  

Your nickname:

Cry About Crypt

Our free, private and encrypted file- and media-sharing service!

Cry About Crypt

Latest posts

Our forums contain more than 72.000 posts in more than 10.00 topics at the moment.

Feel free to register for an account here.
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 https://www.techshinobi.com/index.php/multiple-web2py-instances-with-uwsgi-emperor-and-nginx/ for the proper formatted version.

Thank you Maboroshi!

Read 3542 times Last modified on Saturday, 18 January 2014 06:45
Login to post comments