Skip to content

Instantly share code, notes, and snippets.

@omedhabib
Last active October 26, 2018 09:45
Show Gist options
  • Save omedhabib/c3c8ff74ec3993740e80d7235251e73a to your computer and use it in GitHub Desktop.
Save omedhabib/c3c8ff74ec3993740e80d7235251e73a to your computer and use it in GitHub Desktop.
Bbjoern.wsgi
import bjoern
from app import application
bjoern.run(
wsgi_app=application,
host='0.0.0.0',
port=9808,
reuse_port=True
)
@dimperati
Copy link

dimperati commented Oct 26, 2018

one can put the web server behind reverse proxy e.g. nginx to buffer for slow connections

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment