-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabled nginx proxy buffering #6991
Conversation
8c040c0
to
39145db
Compare
Codecov Report
@@ Coverage Diff @@
## develop #6991 +/- ##
===========================================
+ Coverage 82.59% 82.60% +0.01%
===========================================
Files 360 360
Lines 38926 38920 -6
Branches 3570 3570
===========================================
+ Hits 32150 32151 +1
+ Misses 6776 6769 -7
|
@@ -73,7 +73,8 @@ http { | |||
proxy_set_header Upgrade $http_upgrade; | |||
proxy_set_header Connection $connection_upgrade; | |||
proxy_redirect off; | |||
proxy_buffering off; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cvat/nginx.conf
Outdated
@@ -73,7 +73,8 @@ http { | |||
proxy_set_header Upgrade $http_upgrade; | |||
proxy_set_header Connection $connection_upgrade; | |||
proxy_redirect off; | |||
proxy_buffering off; | |||
proxy_buffering on; | |||
proxy_buffers 100 512k; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to explain values and probably leave comments on why they chose them.
I like a reply in the thread: https://stackoverflow.com/questions/33460569/nginx-proxy-buffering-changing-buffers-number-vs-size
"There's likely a good reason that the default number of buffers was chosen to be 8 as well."
Motivation and context
How has this been tested?
Checklist
develop
branch(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)
License
Feel free to contact the maintainers if that's a concern.