Merge pull request #578 from linuxserver/nextcloud-proxy_buffering

Turn off proxy_buffering for nextcloud
This commit is contained in:
Eric Nemchik 2023-06-07 11:09:35 -05:00 committed by GitHub
commit c5fc722648
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
## Version 2023/05/31
## Version 2023/06/06
# make sure that your nextcloud container is named nextcloud
# make sure that your dns has a cname set for nextcloud
# assuming this container is called "swag", edit your nextcloud container's config
@ -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

@ -1,4 +1,4 @@
## Version 2023/05/10
## Version 2023/06/06
# make sure that your nextcloud container is named nextcloud
# make sure that nextcloud is set to work with the base url /nextcloud/
# Assuming this container is called "swag", edit your nextcloud container's config
@ -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;