Pārlūkot izejas kodu

Revert "[backend] mask server response header due to security vulnerabilities (#3222)" (#3232)

This reverts commit b957904c909853d3c144f7fba96767acdbfa339c.
Athithyaa Selvam 2 gadi atpakaļ
vecāks
revīzija
e8689c28a8

+ 0 - 4
desktop/core/src/desktop/management/commands/rungunicornserver.py

@@ -116,10 +116,6 @@ def rungunicornserver():
     else:
       ssl_keyfile = conf.SSL_PRIVATE_KEY.get()
 
-  # Hide server name = gunicorn and mask it to apache
-  gunicorn.SERVER_SOFTWARE = 'apache'
-  os.environ['SERVER_SOFTWARE'] = gunicorn.SERVER_SOFTWARE
-
   options = {
       'accesslog': "-",
       'backlog': 2048,