Merge pull request #3157 from alphagov/gunicorn-server-header

remove gunicorn server header
This commit is contained in:
Leo Hemsted
2019-10-23 16:49:44 +01:00
committed by GitHub

View File

@@ -2,11 +2,14 @@ import os
import sys
import traceback
import gunicorn
workers = 5
worker_class = "eventlet"
errorlog = "/home/vcap/logs/gunicorn_error.log"
bind = "0.0.0.0:{}".format(os.getenv("PORT"))
disable_redirect_access_to_syslog = True
gunicorn.SERVER_SOFTWARE = 'None'
def worker_abort(worker):