瀏覽代碼

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 年之前
committed by GitHub
父節點
當前提交
4a1739f604
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2

+ 2
- 0
roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 查看文件

@@ -48,6 +48,8 @@ http {

keepalive_timeout 65;

server_tokens off;

#gzip on;
{# Map directive needed for proxied WebSocket upgrades #}
map $http_upgrade $connection_upgrade {


Loading…
取消
儲存