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 2c08266 commit b104c48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gunicorn_config.py
@@ -1,4 +1,5 @@
import os
import gunicorn

bind = "0.0.0.0:{}".format(os.getenv("PORT"))

Expand All @@ -8,3 +9,4 @@
worker_connections = 1000

errorlog = "/home/vcap/logs/gunicorn_error.log"
gunicorn.SERVER_SOFTWARE = ''

0 comments on commit b104c48

Please sign in to comment.