Kaynağa Gözat
Merge pull request #1007 from teutat3s/fix/nginx-dont-send-version
Don't expose nginx version with each response
pull/1009/head
Slavi Pantaleev
5 yıl önce
committed by
GitHub
ebeveyn
işleme
4a1739f604
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile
2 ekleme ve
0 silme
-
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 { |
|
|
|