- 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:
+4
-4
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user