mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 16:44:29 +03:00
Fix nginx max upload size
This commit is contained in:
parent
9c6e31a47a
commit
2993b7f040
@ -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/;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user