diff --git a/nginx.conf b/nginx.conf index 46512d2..a9302d0 100644 --- a/nginx.conf +++ b/nginx.conf @@ -15,6 +15,11 @@ server { log_not_found off; } + location ~* (nginx.conf|Dockerfile|cleanup.ps1|cleanup.bat|README.md|LICENSE.md) { + deny all; + } + + # Custom 404 page error_page 404 /404.html; root /usr/share/nginx/html; diff --git a/ping b/ping deleted file mode 100644 index ed53c21..0000000 --- a/ping +++ /dev/null @@ -1 +0,0 @@ -pong \ No newline at end of file