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; + } }