mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-09 09:27:42 +01:00
enable buffer on nginx
This commit is contained in:
parent
fa0cb8731c
commit
885ddfddd0
@ -59,9 +59,11 @@ http {
|
|||||||
|
|
||||||
# When setting up Harbor behind other proxy, such as an Nginx instance, remove the below line if the proxy already has similar settings.
|
# 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_set_header X-Forwarded-Proto $$scheme;
|
||||||
|
|
||||||
proxy_buffering off;
|
proxy_buffer_size 4k;
|
||||||
proxy_request_buffering off;
|
proxy_buffers 4 32k;
|
||||||
|
proxy_busy_buffers_size 64k;
|
||||||
|
proxy_temp_file_write_size 64k;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /service/ {
|
location /service/ {
|
||||||
|
@ -79,8 +79,10 @@ http {
|
|||||||
# When setting up Harbor behind other proxy, such as an Nginx instance, remove the below line if the proxy already has similar settings.
|
# 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_set_header X-Forwarded-Proto $$scheme;
|
||||||
|
|
||||||
proxy_buffering off;
|
proxy_buffer_size 4k;
|
||||||
proxy_request_buffering off;
|
proxy_buffers 4 32k;
|
||||||
|
proxy_busy_buffers_size 64k;
|
||||||
|
proxy_temp_file_write_size 64k;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /service/ {
|
location /service/ {
|
||||||
|
Loading…
Reference in New Issue
Block a user