Fix nginx max upload size

This commit is contained in:
Nicolas Mowen 2024-11-27 10:50:20 -07:00
parent 9c6e31a47a
commit 2993b7f040

View File

@ -81,6 +81,9 @@ http {
open_file_cache_errors on; open_file_cache_errors on;
aio on; aio on;
# file upload size
client_max_body_size 10M;
# https://github.com/kaltura/nginx-vod-module#vod_open_file_thread_pool # https://github.com/kaltura/nginx-vod-module#vod_open_file_thread_pool
vod_open_file_thread_pool default; vod_open_file_thread_pool default;
@ -246,8 +249,6 @@ http {
proxy_no_cache $should_not_cache; proxy_no_cache $should_not_cache;
add_header X-Cache-Status $upstream_cache_status; add_header X-Cache-Status $upstream_cache_status;
client_max_body_size 10M;
location /api/vod/ { location /api/vod/ {
include auth_request.conf; include auth_request.conf;
proxy_pass http://frigate_api/vod/; proxy_pass http://frigate_api/vod/;