fix 404 handling, ignore static/media

This commit is contained in:
2026-03-19 22:28:31 -04:00
parent e1ac1c0f23
commit c13f12d2d4
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1 +1,2 @@
*.swp
static/media/
+1 -1
View File
@@ -5,7 +5,7 @@ server {
# Clean URLs — serve index.html for directories
location / {
try_files $uri $uri/ /index.html;
try_files $uri $uri/ =404;
}
# Cache static assets aggressively