Skip to content
Snippets Groups Projects
Commit f4fb2ca4 authored by Ruben Davila's avatar Ruben Davila
Browse files

Disable proxy_request_buffering for LFS endpoints

parent 79dcf015
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -26,6 +26,7 @@ omnibus-gitlab repository.
- Rename trigger schedules to pipeline schedules
- Compile new binaries for gitlab-shell
- Compile python with libedit
- Disable Nginx proxy_request_buffering for Git LFS endpoints
 
9.1.2
 
Loading
Loading
Loading
Loading
@@ -141,6 +141,12 @@ server {
proxy_set_header <%= header[0] %> <%= header[1] %>;
<% end %>
 
location ~ (\.git/gitlab-lfs/objects|\.git/info/lfs/objects/batch$) {
proxy_cache off;
proxy_pass http://gitlab-workhorse;
proxy_request_buffering off;
}
<% path = @relative_url ? @relative_url : "/" %>
location <%= path %> {
proxy_cache off;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment