mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-23 09:29:14 -04:00
Merge pull request #3157 from alphagov/gunicorn-server-header
remove gunicorn server header
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