web: improve nginx configuration

* Enable http2 by default
* Disable server_tokens by default
This commit is contained in:
Amin Vakil
2020-04-15 14:39:28 +04:30
committed by GitHub
parent 2dd6b99191
commit b95c95de0e
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ server {
{{ if not (.Env.DISABLE_HTTPS | default "0" | toBool) }}
server {
listen 443 ssl;
listen 443 ssl http2;
include /config/nginx/ssl.conf;
include /config/nginx/meet.conf;