Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65778
| Date | 2014-02-09 21:05 +0000 |
|---|---|
| Subject | Python (?) webserver for WSGI |
| From | Nicholas Cole <nicholas.cole@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6600.1391979965.18130.python-list@python.org> (permalink) |
Dear List, What is the latest "best-practice" for deploying a python wsgi application into production? For development, I've been using CherryPyWSGIServer which has been working very well (and the code is small enough to actually ship with my application). But I would like some way of deploying a server listening on port 80 (and then dropping root privileges). I have looked at using gunicorn + ngnix, but that gives me 3 layers that I need to set up: - my own application - gunicorn - ngnix Compared to using something like CherryPyWSGIServer (where a single line of code starts my application!) that seems like overkill and rather complicated for a small application. I'm not expecting 1000s of users (or even dozens!), but this is an application that will be accessible to "the internet" and so server security is a concern (which is why I don't want to use anything that labels itself as a "development" webserver). As far as I can tell, this is something of a fast-moving target. What advice do people have? I'm using python 3, in case it makes a difference. Best wishes, N.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Python (?) webserver for WSGI Nicholas Cole <nicholas.cole@gmail.com> - 2014-02-09 21:05 +0000
Re: Python (?) webserver for WSGI Asaf Las <roegltd@gmail.com> - 2014-02-09 13:33 -0800
Python (?) webserver for WSGI Nicholas Cole <nicholas.cole@gmail.com> - 2014-02-09 22:29 +0000
csiph-web