Browse Source
Don't expose nginx version with each response
pull/1007/head
teutat3s
4 years ago
No known key found for this signature in database
GPG Key ID: 18DAE600A6BBE705
1 changed files with
2 additions and
0 deletions
-
roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2
|
|
@@ -48,6 +48,8 @@ http { |
|
|
|
|
|
|
|
|
keepalive_timeout 65; |
|
|
keepalive_timeout 65; |
|
|
|
|
|
|
|
|
|
|
|
server_tokens off; |
|
|
|
|
|
|
|
|
#gzip on; |
|
|
#gzip on; |
|
|
{# Map directive needed for proxied WebSocket upgrades #} |
|
|
{# Map directive needed for proxied WebSocket upgrades #} |
|
|
map $http_upgrade $connection_upgrade { |
|
|
map $http_upgrade $connection_upgrade { |
|
|
|