Skip to content

Commit

Permalink
remove gunicorn server header
Browse files Browse the repository at this point in the history
see alphagov/notifications-api#2640 for more
information
  • Loading branch information
leohemsted committed Oct 23, 2019
1 parent 055f000 commit ec867c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gunicorn_config.py
Expand Up @@ -2,11 +2,14 @@
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):
Expand Down

0 comments on commit ec867c0

Please sign in to comment.