From 23934bc693aab466c719fe7aca63c102ffd56576 Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Fri, 3 Feb 2023 18:16:32 +0000 Subject: [PATCH] bump t-pot-attack-map to 1.1.1, add nginx cache header --- docker/elk/map/Dockerfile | 2 +- docker/nginx/dist/conf/tpotweb.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/elk/map/Dockerfile b/docker/elk/map/Dockerfile index 76ac6b13..a19c4ffd 100644 --- a/docker/elk/map/Dockerfile +++ b/docker/elk/map/Dockerfile @@ -15,7 +15,7 @@ RUN apk -U --no-cache add \ # Install from GitHub and setup mkdir -p /opt && \ cd /opt/ && \ - git clone https://github.com/t3chn0m4g3/t-pot-attack-map -b 1.1.0 && \ + git clone https://github.com/t3chn0m4g3/t-pot-attack-map -b 1.1.1 && \ cd t-pot-attack-map && \ # git checkout eaf8d123d72a62e4c12093e4e8487e10e6ef60f3 && \ # git branch -a && \ diff --git a/docker/nginx/dist/conf/tpotweb.conf b/docker/nginx/dist/conf/tpotweb.conf index c142c01d..68065cba 100644 --- a/docker/nginx/dist/conf/tpotweb.conf +++ b/docker/nginx/dist/conf/tpotweb.conf @@ -13,6 +13,7 @@ server { server_name example.com; error_page 300 301 302 400 401 402 403 404 500 501 502 503 504 /error.html; root /var/lib/nginx/html; + add_header Cache-Control "public, max-age=604800"; ##############################################