From ca07bafda55bf906c3e1717b3d6e9c08499476c9 Mon Sep 17 00:00:00 2001 From: Keith Casko Date: Fri, 2 Oct 2026 10:25:17 -0400 Subject: [PATCH] Fix nginx static asset routing --- nginx.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; }