fix: increase upload limit to 1GB and fix category filters (#155, #156)

- Increase nginx client_max_body_size from 100MB to 1GB for video support
- Fix admin photo category filtering to properly handle numeric category IDs
  from the photo_categories table, not just legacy 'individual'/'collage' types
- Add support for 'uncategorized' filter to show photos with no category
This commit is contained in:
Paul Nothaft
2026-02-01 21:07:44 +01:00
parent 27ff51e7a1
commit 397d33a95a
2 changed files with 17 additions and 10 deletions
+4 -4
View File
@@ -8,8 +8,8 @@ server {
resolver 127.0.0.11 valid=10s ipv6=off;
resolver_timeout 5s;
# Allow larger file uploads (up to 100MB)
client_max_body_size 100M;
# Allow larger file uploads (up to 1GB for video support)
client_max_body_size 1G;
client_body_timeout 300s;
# Gzip compression
@@ -60,8 +60,8 @@ server {
proxy_cache_bypass $http_upgrade;
proxy_read_timeout 86400;
# Allow larger uploads for API endpoints
client_max_body_size 100M;
# Allow larger uploads for API endpoints (up to 1GB for video support)
client_max_body_size 1G;
client_body_timeout 300s;
}