Server Best Practices

The majority of self-hosted Python applications today are hosted with a WSGIserver such as Gunicorn, either directly or behind alightweight web server such as nginx.

The WSGI servers serve the Python applications while the web server handlestasks better suited for it such as static file serving, request routing, DDoSprotection, and basic authentication.