From 7d69b4f5cfb91d81a565f7807045bf5d45389954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 29 Dec 2023 11:28:14 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index ab94fb0..4fb4035 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -19,7 +19,7 @@ location @api { proxy_pass http://127.0.0.1:__PORT__; } -location = /api/v1/videos/upload-resumable { +location ~ ^/api/v1/videos/(upload-resumable|([^/]+/source/replace-resumable))$ { client_max_body_size 0; proxy_request_buffering off; @@ -96,7 +96,7 @@ location ~ ^/plugins/[^/]+(/[^/]+)?/ws/ { # For extra performance please refer to https://github.com/denji/nginx-tuning ## -root __DATA_DIR__storage/; +root __DATA_DIR__/storage/; # Enable compression for JS/CSS/HTML, for improved client load times. # It might be nice to compress JSON/XML as returned by the API, but # leaving that out to protect against potential BREACH attack.