remove gunicorn server header

see https://github.com/alphagov/notifications-api/pull/2640 for more
information
This commit is contained in:
Leo Hemsted
2019-10-23 13:02:41 +01:00
parent 055f000020
commit ec867c04c2

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):