Browse Source

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 years ago
committed by GitHub
parent
commit
4a1739f604
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2

+ 2
- 0
roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 View File

@@ -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…
Cancel
Save