mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
disable nginx buffer
When host in low disk status, enable the buffer will cause upload error.
This commit is contained in:
parent
b8ada80304
commit
026e8e7f95
@ -59,13 +59,8 @@ http {
|
||||
|
||||
# When setting up Harbor behind other proxy, such as an Nginx instance, remove the below line if the proxy already has similar settings.
|
||||
proxy_set_header X-Forwarded-Proto $$scheme;
|
||||
|
||||
proxy_buffer_size 4k;
|
||||
proxy_buffers 4 32k;
|
||||
proxy_busy_buffers_size 64k;
|
||||
proxy_temp_file_write_size 64k;
|
||||
client_body_temp_path /tmp/nginx_client_body_temp;
|
||||
proxy_temp_path /tmp/nginx_proxy_temp;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
}
|
||||
|
||||
location /service/ {
|
||||
|
@ -78,13 +78,8 @@ http {
|
||||
|
||||
# When setting up Harbor behind other proxy, such as an Nginx instance, remove the below line if the proxy already has similar settings.
|
||||
proxy_set_header X-Forwarded-Proto $$scheme;
|
||||
|
||||
proxy_buffer_size 4k;
|
||||
proxy_buffers 4 32k;
|
||||
proxy_busy_buffers_size 64k;
|
||||
proxy_temp_file_write_size 64k;
|
||||
client_body_temp_path /tmp/nginx_client_body_temp;
|
||||
proxy_temp_path /tmp/nginx_proxy_temp;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
}
|
||||
|
||||
location /service/ {
|
||||
|
Loading…
Reference in New Issue
Block a user