diff --git a/gunicorn_config.py b/gunicorn_config.py index e71cbe944..4bd41ab46 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -32,6 +32,11 @@ def worker_int(worker): worker.log.info("worker: received SIGINT {}".format(worker.pid)) +def post_request(worker, req, environ, resp): + if "Server" in resp.headers: + resp.headers.pop("Server") + + def fix_ssl_monkeypatching(): """ eventlet works by monkey-patching core IO libraries (such as ssl) to be non-blocking. However, there's currently