mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
remove gunicorn server header
see https://github.com/alphagov/notifications-api/pull/2640 for more information
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user