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