mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
bump t-pot-attack-map to 1.1.1, add nginx cache header
This commit is contained in:
@ -15,7 +15,7 @@ RUN apk -U --no-cache add \
|
|||||||
# Install from GitHub and setup
|
# Install from GitHub and setup
|
||||||
mkdir -p /opt && \
|
mkdir -p /opt && \
|
||||||
cd /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 && \
|
cd t-pot-attack-map && \
|
||||||
# git checkout eaf8d123d72a62e4c12093e4e8487e10e6ef60f3 && \
|
# git checkout eaf8d123d72a62e4c12093e4e8487e10e6ef60f3 && \
|
||||||
# git branch -a && \
|
# git branch -a && \
|
||||||
|
1
docker/nginx/dist/conf/tpotweb.conf
vendored
1
docker/nginx/dist/conf/tpotweb.conf
vendored
@ -13,6 +13,7 @@ server {
|
|||||||
server_name example.com;
|
server_name example.com;
|
||||||
error_page 300 301 302 400 401 402 403 404 500 501 502 503 504 /error.html;
|
error_page 300 301 302 400 401 402 403 404 500 501 502 503 504 /error.html;
|
||||||
root /var/lib/nginx/html;
|
root /var/lib/nginx/html;
|
||||||
|
add_header Cache-Control "public, max-age=604800";
|
||||||
|
|
||||||
|
|
||||||
##############################################
|
##############################################
|
||||||
|
Reference in New Issue
Block a user