From 3d5860388a359070baa95574234011c0a4b6feed Mon Sep 17 00:00:00 2001 From: Patrik Kernstock Date: Sun, 9 Aug 2020 00:10:42 +0100 Subject: [PATCH] Disable kibana telemetry, disable nginx server_tokens --- data/conf/nginx/site.conf | 2 ++ docker-compose.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf index f6fe264..758d995 100644 --- a/data/conf/nginx/site.conf +++ b/data/conf/nginx/site.conf @@ -5,6 +5,8 @@ server { ssl_certificate /etc/nginx/ssl/kibana.crt; ssl_certificate_key /etc/nginx/ssl/kibana.key; + server_tokens off; + ssl_session_timeout 1d; ssl_session_cache shared:SSL:15m; ssl_session_tickets off; diff --git a/docker-compose.yml b/docker-compose.yml index 0077572..8262d99 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -61,6 +61,8 @@ services: image: docker.elastic.co/kibana/kibana-oss:7.8.1 environment: - elasticsearch.hosts=http://elasticsearch:9200 + - telemetry.enabled=false + - telemetry.optIn=false expose: # only expose docker-internally - 5601 restart: always