Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65778
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <nicholas.cole@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.030 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'root': 0.05; 'subject:Python': 0.06; 'layers': 0.07; 'python': 0.11; 'expecting': 0.16; 'fast-moving': 0.16; 'subject:WSGI': 0.16; 'wsgi': 0.16; 'looked': 0.18; '(where': 0.19; 'starts': 0.20; 'seems': 0.21; '(or': 0.24; "i've": 0.25; 'compared': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '(which': 0.31; 'gives': 0.31; 'code': 0.31; 'concern': 0.31; 'up:': 0.31; '"the': 0.34; 'advice': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'accessible': 0.36; 'wishes,': 0.36; 'application': 0.37; 'server': 0.38; 'to:addr:python-list': 0.38; 'list,': 0.38; 'rather': 0.38; 'anything': 0.39; 'itself': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'users': 0.40; 'even': 0.60; 'dear': 0.65; 'latest': 0.67; 'listening': 0.74; 'difference.': 0.84; 'have?': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=92qE1CVtsg87jd39VGzlNQ9PeSL8jmHDSZlx/i7of6M=; b=RFckiRonwUc5VhllFD9F/C75/95JIWQI30fxxFIHqLt4e6BaSAC+O+2Virf30JAElA hYXbRZwI22BHTKQnE15NP+QR+z3beQg4Fq4YM8iYGH04D7DObxKb398FW1d5iAwKW+WO R7VM5g5Vi7vv8hv2cEwjTOAsgfUj5movZff5jrgRQmbZSa2B51diNQgKI8lpmD6QhhvR pnVCcN/dZbmzaEH7gMWW5EWyPV7z7gqmzi4mQEGkdKcndiv79n7Jj/GDh/ge4r1DT/8N FG8fiEMZPwENET6jAmpWm4s+MENhF9dcyAxtrNS5vee7kTTH/6fkJFd06/TQkTKxmvgC dYzg== |
| MIME-Version | 1.0 |
| X-Received | by 10.14.111.201 with SMTP id w49mr998166eeg.92.1391979958651; Sun, 09 Feb 2014 13:05:58 -0800 (PST) |
| Date | Sun, 9 Feb 2014 21:05:58 +0000 |
| Subject | Python (?) webserver for WSGI |
| From | Nicholas Cole <nicholas.cole@gmail.com> |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6600.1391979965.18130.python-list@python.org> (permalink) |
| Lines | 33 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1391979965 news.xs4all.nl 2917 [2001:888:2000:d::a6]:59434 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:65778 |
Show key headers only | View raw
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