mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
Merge pull request #2640 from alphagov/remove-gunicorn-header
remove gunicorn server header from responses
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import os
|
||||
import sys
|
||||
import traceback
|
||||
import gunicorn
|
||||
|
||||
workers = 4
|
||||
worker_class = "eventlet"
|
||||
@@ -9,6 +10,7 @@ errorlog = "/home/vcap/logs/gunicorn_error.log"
|
||||
bind = "0.0.0.0:{}".format(os.getenv("PORT"))
|
||||
statsd_host = "{}:8125".format(os.getenv("STATSD_HOST"))
|
||||
statsd_prefix = os.getenv("STATSD_PREFIX")
|
||||
gunicorn.SERVER_SOFTWARE = 'None'
|
||||
|
||||
|
||||
def on_starting(server):
|
||||
|
||||
Reference in New Issue
Block a user