Suck-O Time

Resources

Latest posts

Sorry, the latest posts are only visible to registered users in order to protect privacy!
Our forums contain more than 72.000 posts in more than 9.500 topics at the moment.

Feel free to register for an account here.

-----

The benefits if you are a registered user:

- Forum access
- Downloads access
- Event calendar access
- Submit links to your sites
- Submit events
- Submit articles
- Apply for an own blog

 


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 2561 times Last modified on Saturday, 18 January 2014 06:45
Login to post comments