diff --git a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf index fa487a083..61b598859 100644 --- a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf +++ b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf @@ -81,6 +81,9 @@ http { open_file_cache_errors on; aio on; + # file upload size + client_max_body_size 10M; + # https://github.com/kaltura/nginx-vod-module#vod_open_file_thread_pool vod_open_file_thread_pool default; @@ -246,8 +249,6 @@ http { proxy_no_cache $should_not_cache; add_header X-Cache-Status $upstream_cache_status; - client_max_body_size 10M; - location /api/vod/ { include auth_request.conf; proxy_pass http://frigate_api/vod/;