On Thursday, June 4, 2015 at 5:57:36 PM UTC+2, Lewis wrote:
>
> What about gunicorn as a wsgi server to simply stand between nginx and 
> web2py?
>

gunicorn behind nginx is a popular config, but usually is to have several 
gevented processes to bind on a single socket. There are several "workers" 
available, and I'm not saying that is not useful otherwise, but it's where 
it shines (and was born for (note the "g")). I'm not counting to 
continously bash your proposal, but it doesn't seem that gunicorn 
parameters (and docs) are less intuitive than the one for running a wsgi 
app inside uwsgi (nor more "stable").
 

>
> Here is what I am going to do:
> 1. script (Bash) my config so that it is repeatable.  This will be similar 
> to the existing scripts supplied with web2py, but with small changes.  test 
> it in a new deployment on a clean VM. 
> 2. Port this to either fabric or ansible to enable repeatable, remote 
> deployment.  Can either reuse the Bash script or do it the fabric way.
> 3. Try either gunicorn or tornado as a stand-in wsgi shim as an 
> alternative to uwsgi to see what is involved.  Won't improve performance or 
> feature set--just a way to see if config is any more manageable.
>

perfect plan, but again, I'm fighting hard to see the point (searching for 
a "stabler" config syntax). BTW: Tornado isn't suited AT ALL useful if you 
plan to run a web2py app in 95% of the cases. 
 

>
> I do think anyserver.py is a convenient accompaniament to using rocket 
> locally.  Let's the test server run remotely.  Is there any way to get 
> anyserver to support ssl for the admin ui?
>
>
Nope, for two simple reasons:
 - not every webserver supports ssl
 - you're not supposed to run any of them without a frontend: in any case 
it can take care of SSL termination way better than pure python solutions  

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to