Last active
September 11, 2017 15:26
-
-
Save u1i/c649ca2c5991dc9c48da67df308671cc to your computer and use it in GitHub Desktop.
gunicorn wsgi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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