diff --git a/nginx.conf b/nginx.conf index 2716f11..36581eb 100644 --- a/nginx.conf +++ b/nginx.conf @@ -19,8 +19,11 @@ server { try_files $uri $uri/ =404; } - location ~ /. { - deny all; + location ^~ /.git/ { + return 404; + } + + location = /.woodpecker.yml { return 404; }