fix 404 handling, ignore static/media

This commit is contained in:
timothykim committed 2026-03-19 22:28:31 -04:00
1 parent e1ac1c0f23
commit c13f12d2d4
2 files changed
+2 -1

No files matched your search

+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