1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-12-29 11:28:14 +01:00
parent 11c4ab3a23
commit 7d69b4f5cf

View file

@ -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.