Fix nginx static asset routing
This commit is contained in:
+5
-2
@@ -19,8 +19,11 @@ server {
|
|||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /. {
|
location ^~ /.git/ {
|
||||||
deny all;
|
return 404;
|
||||||
|
}
|
||||||
|
|
||||||
|
location = /.woodpecker.yml {
|
||||||
return 404;
|
return 404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user