Turn off proxy_buffering for nextcloud

Signed-off-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
Eric Nemchik 2023-06-06 15:46:16 -05:00
parent 0e570f80cb
commit 819de91c75
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -34,6 +34,6 @@ server {
# Uncomment X-Frame-Options directive in ssl.conf to pass security checks.
proxy_hide_header X-Frame-Options;
proxy_max_temp_file_size 2048m;
proxy_buffering off;
}
}

View file

@ -36,7 +36,7 @@ location ^~ /nextcloud/ {
rewrite /nextcloud(.*) $1 break;
# Uncomment X-Frame-Options directive in ssl.conf to pass security checks.
proxy_hide_header X-Frame-Options;
proxy_max_temp_file_size 2048m;
proxy_buffering off;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
proxy_ssl_session_reuse off;