From 03893b384a2a3100fa301c0d22581f72ad6fe2c0 Mon Sep 17 00:00:00 2001 From: Revvy Date: Mon, 1 Apr 2024 16:10:59 -0400 Subject: [PATCH] fix: docker commit hash in footer --- .dockerignore | 3 +-- docker/nginx.conf | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 57a19f42..7cd96532 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,4 @@ .github/ -.git/ .gitignore .dockerignore config.php.example @@ -7,4 +6,4 @@ docker-compose.yml Dockerfile opensearch.xml.example README.md -docker-old/ \ No newline at end of file +docker-old/ diff --git a/docker/nginx.conf b/docker/nginx.conf index 00cc0f90..c516ea74 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -18,4 +18,8 @@ server { fastcgi_index index.php; include fastcgi.conf; } + + location ~ /\. { + deny all; + } }