Skip to content

Instantly share code, notes, and snippets.

@u1i
Last active September 11, 2017 15:26
Show Gist options
  • Save u1i/c649ca2c5991dc9c48da67df308671cc to your computer and use it in GitHub Desktop.
Save u1i/c649ca2c5991dc9c48da67df308671cc to your computer and use it in GitHub Desktop.
gunicorn wsgi
def application(env, start_response):
start_response('200 OK', [('Content-Type', 'text/html')])
return ["Hello!"]
# start with:
# gunicorn -b 0.0.0.0:8080 wsgi&
# gunicorn -b 0.0.0.0:8080 --workers=5 wsgi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment