Skip to content

Commit

Permalink
Merge pull request #92 from plone/jens_wsgi_fixes
Browse files Browse the repository at this point in the history
README fix for #91
  • Loading branch information
gforcada authored Apr 19, 2019
2 parents 7eeda14 + 73bed11 commit 5aae898
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,27 @@ initialization

wsgi
By default this recipe creates a Python script that uses ``waitress`` as a
WSGI server.
When running Python 2 you can set ``wsgi = off`` to disable WSGI and enable
ZServer.
WSGI server. When running Python 2 you can disable WSGI and use ZServer by
setting ``wsgi = off`` and including ZServer in the ``eggs`` specification
list. Example::

wsgi = off
eggs =
...
ZServer

You can use other PasteDeploy-compatible WSGI servers by passing a path
to a WSGI configuration file here and including the WSGI server's egg in the
``eggs`` specification. Example::

wsgi = ${buildout:directory}/etc/gunicorn.ini
eggs =
...
gunicorn

The WSGI configuration file will not be created for you in this case,
unlike the built-in ``waitress`` support. You have to provide it yourself.


Theme resources
---------------
Expand Down

0 comments on commit 5aae898

Please sign in to comment.