file upload - disable request buffering in nginx - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (/opensearch.xml) (https://stackoverflow.com/questions/5963080/disable-request-buffering-in-nginx) (https://cdn.sstatic.net/Shared/stacks.css?v=d6a266655a25) (https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=22fb2cb11723) (Feed for question 'disable request buffering in nginx') (/feeds/question/5963080) (https://cdn.sstatic.net/Shared/Channels/channels.css?v=5981bb1a5bd7) (https://accounts.google.com/gsi/style) (site logo) Join Stack Overflow By clicking “Sign up”, you agree to our (/legal/terms-of-service/public) terms of service and acknowledge you have read our (/legal/privacy-policy) privacy policy . (49d57158e71d99a3e199ca788c9ff79631f500ae49450085e1afebebfcfdd8cf) (1) (2.0) Sign up with Google Sign up with GitHub OR (49d57158e71d99a3e199ca788c9ff79631f500ae49450085e1afebebfcfdd8cf) (1) () () () () () () Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (/users/login) Log in (49d57158e71d99a3e199ca788c9ff79631f500ae49450085e1afebebfcfdd8cf) () Skip to main content (https://stackoverflow.com) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav-bar&utm_content=overflowai) OverflowAI (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams) Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising) Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-ai) OverflowAI GenAI features for Teams (https://stackoverflow.co/api-solutions/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api) OverflowAPI Train & fine-tune LLMs (https://stackoverflow.co/labs/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=labs) Labs The future of collective knowledge sharing (https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company) About the company (https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog) Visit the blog (Search…) () Loading… (https://stackoverflow.com) current community (https://stackoverflow.com) (Stack Overflow) Stack Overflow (https://stackoverflow.com/help) help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) chat (https://meta.stackoverflow.com) (Meta Stack Overflow) Meta Stack Overflow your communities (https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f5963080%2fdisable-request-buffering-in-nginx) Sign up or (https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f5963080%2fdisable-request-buffering-in-nginx) log in to customize your list. (https://stackexchange.com/sites) more stack exchange communities (https://stackoverflow.blog) company blog (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f5963080%2fdisable-request-buffering-in-nginx) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f5963080%2fdisable-request-buffering-in-nginx) Sign up Let's set up your homepage Select a few topics you're interested in: python javascript c# reactjs java android html flutter c++ node.js typescript css r php angular next.js spring-boot machine-learning sql excel ios azure docker Or search from our full list: (Search) javascript python java c# php android html jquery c++ css ios sql mysql r reactjs node.js arrays c asp.net json python-3.x .net ruby-on-rails sql-server swift django angular objective-c excel pandas angularjs regex typescript ruby linux ajax iphone vba xml laravel spring asp.net-mvc database wordpress string flutter postgresql mongodb wpf windows amazon-web-services xcode bash git oracle-database spring-boot dataframe azure firebase list docker multithreading vb.net react-native eclipse algorithm powershell macos visual-studio numpy image forms scala function vue.js performance twitter-bootstrap selenium winforms kotlin loops express dart hibernate sqlite matlab python-2.7 shell rest apache entity-framework android-studio csv maven api linq qt dictionary unit-testing asp.net-core facebook tensorflow apache-spark file swing class unity-game-engine sorting date authentication go symfony t-sql opencv matplotlib .htaccess google-chrome for-loop datetime codeigniter http perl validation sockets google-maps object uitableview xaml oop if-statement visual-studio-code cordova ubuntu web-services email android-layout github elasticsearch spring-mvc kubernetes selenium-webdriver ms-access user-interface parsing ggplot2 pointers google-sheets machine-learning c++11 security google-apps-script flask ruby-on-rails-3 templates nginx variables exception sql-server-2008 gradle debugging tkinter listview delphi jpa asynchronous pdf web-scraping haskell jsp ssl amazon-s3 google-cloud-platform jenkins testing xamarin wcf npm batch-file generics ionic-framework network-programming unix recursion google-app-engine mongoose visual-studio-2010 .net-core android-fragments assembly animation next.js math session svg hadoop intellij-idea curl django-models join rust winapi laravel-5 url heroku http-redirect tomcat google-cloud-firestore inheritance webpack keras image-processing gcc asp.net-mvc-4 logging dom web swiftui matrix pyspark actionscript-3 button post optimization firebase-realtime-database jquery-ui iis cocoa xpath d3.js javafx firefox internet-explorer xslt caching select asp.net-mvc-3 opengl events asp.net-web-api plot dplyr magento encryption search stored-procedures amazon-ec2 ruby-on-rails-4 memory audio canvas multidimensional-array jsf random vector cookies redux input facebook-graph-api flash xamarin.forms indexing arraylist ipad cocoa-touch data-structures video apache-kafka model-view-controller serialization jdbc woocommerce azure-devops routes razor awk servlets mod-rewrite beautifulsoup docker-compose excel-formula filter iframe aws-lambda design-patterns text django-rest-framework visual-c++ cakephp mobile android-intent react-hooks struct methods groovy mvvm ssh lambda checkbox google-chrome-extension ecmascript-6 time grails installation sharepoint cmake shiny spring-security jakarta-ee android-recyclerview plsql core-data types meteor android-activity sed bootstrap-4 websocket activerecord graph replace scikit-learn file-upload group-by vim junit boost deep-learning import sass memory-management error-handling async-await eloquent dynamic soap silverlight dependency-injection charts layout apache-spark-sql deployment browser gridview svn while-loop google-bigquery vuejs2 ffmpeg dll highcharts view foreach plugins makefile c#-4.0 redis reporting-services jupyter-notebook merge server unicode https reflection google-maps-api-3 twitter oauth-2.0 extjs pytorch axios terminal pip split cmd mysqli encoding django-views automation database-design collections hash netbeans build data-binding ember.js tcp sqlalchemy pdo apache-flex concurrency entity-framework-core command-line spring-data-jpa printing react-redux java-8 jestjs service html-table lua neo4j ansible material-ui parameters module enums flexbox visual-studio-2012 promise outlook webview firebase-authentication web-applications uwp jquery-mobile utf-8 datatable python-requests parallel-processing drop-down-menu colors scroll hive scipy tfs count syntax ms-word twitter-bootstrap-3 ssis google-analytics fonts three.js powerbi rxjs constructor graphql file-io paypal discord cassandra socket.io graphics compiler-errors gwt react-router nlp solr url-rewriting backbone.js memory-leaks datatables oauth terraform datagridview drupal oracle11g zend-framework neural-network knockout.js triggers django-forms interface angular-material google-api casting jmeter linked-list path proxy timer django-templates arduino orm directory visual-studio-2015 parse-platform windows-phone-7 cron push-notification conditional-statements primefaces functional-programming pagination model jar xamarin.android hyperlink uiview gitlab visual-studio-2013 vbscript google-cloud-functions azure-active-directory jwt download swift3 sql-server-2005 configuration process rspec pygame properties combobox callback windows-phone-8 linux-kernel safari permissions scrapy raspberry-pi scripting emacs clojure x86 scope io compilation mongodb-query expo nhibernate responsive-design angularjs-directive azure-functions request bluetooth dns 3d binding reference architecture discord.js playframework pyqt version-control doctrine-orm package get sql-server-2012 rubygems f# autocomplete openssl datepicker kendo-ui tree jackson pycharm controller yii nested grep xamarin.ios static dockerfile statistics transactions datagrid null active-directory uiviewcontroller webforms phpmyadmin discord.py notifications computer-vision sas duplicates mocking youtube nullpointerexception yaml menu sum bitmap blazor electron asp.net-mvc-5 visual-studio-2008 time-series yii2 jsf-2 css-selectors stl android-listview floating-point cryptography ant stream hashmap character-encoding msbuild sdk asp.net-core-mvc google-drive-api selenium-chromedriver jboss cors joomla navigation devise anaconda background camera multiprocessing pyqt5 binary cuda frontend linq-to-sql iterator mariadb onclick plotly ios7 android-jetpack-compose rabbitmq microsoft-graph-api android-asynctask tabs laravel-4 insert uicollectionview environment-variables amazon-dynamodb linker xsd console coldfusion upload continuous-integration ftp textview opengl-es vuejs3 operating-system mockito macros localization formatting xml-parsing json.net kivy type-conversion data.table timestamp calendar integer segmentation-fault android-ndk drag-and-drop prolog char crash jasmine automated-tests dependencies geometry android-gradle-plugin itext firebase-cloud-messaging header fortran sprite-kit mfc attributes nuxt.js nosql azure-pipelines format nestjs odoo db2 jquery-plugins jenkins-pipeline leaflet event-handling flutter-layout julia postman annotations keyboard textbox arm visual-studio-2017 gulp libgdx stripe-payments xampp synchronization timezone crystal-reports dom-events azure-web-app-service uikit android-emulator swagger wso2 sequelize.js namespaces aggregation-framework uiscrollview jvm google-sheets-formula chart.js com subprocess geolocation centos webdriver snowflake-cloud-data-platform html5-canvas garbage-collection widget dialog numbers concatenation sql-update qml set windows-10 tuples mapreduce smtp java-stream ionic2 rotation modal-dialog spring-data android-edittext http-headers nuget doctrine radio-button sonarqube grid lucene xmlhttprequest internationalization listbox initialization switch-statement components google-play apache-camel boolean serial-port ldap ios5 youtube-api gdb return latex pivot eclipse-plugin frameworks tags containers github-actions dataset asp-classic label subquery foreign-keys c++17 copy uinavigationcontroller delegates google-cloud-storage migration struts2 base64 protractor find sql-server-2008-r2 embedded queue uibutton arguments composer-php append jaxb zip stack cucumber autolayout ide entity-framework-6 popup iteration airflow tailwind-css windows-7 r-markdown ssl-certificate vb6 gmail hover jqgrid g++ udp Next You’ll be prompted to create an account to view your personalized homepage. (/) Home (/questions) Questions (/tags) Tags (/beta/discussions) Discussions Labs (https://chat.stackoverflow.com/?tab=all&sort=active) Chat (/users) Users (/jobs?source=so-left-nav) Jobs (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Collectives Communities for your favorite technologies. (/collectives-all) Explore all Collectives Teams () Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Try Teams for free (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact) Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. (/collectives) Learn more about Collectives Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. (https://stackoverflow.co/teams/) Learn more about Teams (Illustration of upvote icon after it is clicked) Hang on, you can't upvote just yet. You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. (https://stackoverflow.com/help/whats-reputation) What's reputation and how do I get it? Instead, you can save this post to reference later. Save this post for later Not now (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (/questions/5963080/disable-request-buffering-in-nginx) disable request buffering in nginx (/questions/ask) Ask Question (2011-05-11 10:56:26Z) Asked 13 years, 11 months ago Modified (?lastactivity) (2015-04-29 10:13:14Z) 9 years, 11 months ago (Viewed 32,484 times) Viewed 32k times This question shows research effort; it is useful and clear (69:3:31e,16:96938565d3877009,10:1744305280,16:6befe54ba3e787cb,7:5963080,8b30fddd9fbe9ce10a6f4e4be1cd0855446bec727308e87d1ba1ab532821ce66) 11 (This question does not show any research effort; it is unclear or not useful) (69:3:31e,16:c88d4796e77e8b7b,10:1744305280,16:0e4e645d0b00f3ad,7:5963080,f1c69cbd323f43fd318be1a96698cfbae6a26ba1c43cd771d9ecdc2e6d3fbec4) Save this question. (/posts/5963080/timeline) Show activity on this post. It seems that nginx buffers requests before passing it to the updstream server,while it is OK for most cases for me it is very bad :) My case is like this: I have nginx as a frontend server to proxy 3 different servers: apache with a typical php app shaveet(a open source comet server) built by me with python and gevent a file upload server built again with gevent that proxies the uploads to rackspace cloudfiles while accepting the upload from the client. #3 is the problem, right now what I have is that nginx buffers all the request and then sends that to the file upload server which in turn sends it to cloudfiles instead of sending each chunk as it gets it (those making the upload faster as i can push 6-7MB/s to cloudfiles). The reason I use nginx is to have 3 different domains with one IP if I can't do that I will have to move the fileupload server to another machine. (/questions/tagged/file-upload) (show questions tagged 'file-upload') file-upload (/questions/tagged/nginx) (show questions tagged 'nginx') nginx (/questions/tagged/asyncfileupload) (show questions tagged 'asyncfileupload') asyncfileupload (/questions/tagged/gevent) (show questions tagged 'gevent') gevent (/q/5963080) (Short permalink to this question) Share Share a link to this question Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/5963080/edit) () Improve this question Follow (69:3:31e,16:e985a910aad29142,10:1744305280,16:6e885de8c0bf6a2b,7:5963080,26105a3633501b2a5c52df7ef130ac4f8b40b21b2b888bba152b105ef478c25b) Follow this question to receive notifications (/posts/5963080/revisions) (show all edits to this post) edited (2011-05-11 10:59:20Z) May 11, 2011 at 10:59 (/users/211359/karl-von-moor) (Karl von Moor's user avatar) (/users/211359/karl-von-moor) Karl von Moor (reputation score) 8,614 (4 gold badges) 4 4 gold badges (42 silver badges) 42 42 silver badges (52 bronze badges) 52 52 bronze badges asked (2011-05-11 10:56:26Z) May 11, 2011 at 10:56 (/users/334886/uriel-katz) (Uriel Katz's user avatar) (/users/334886/uriel-katz) Uriel Katz Uriel Katz (reputation score) 187 (1 gold badge) 1 1 gold badge (2 silver badges) 2 2 silver badges (11 bronze badges) 11 11 bronze badges 3 (number of 'useful comment' votes received) 4 just so everybody knows,according to ppl in #nginx and #lighttpd it is not possible to disable request buffering on both of them :( – (/users/334886/uriel-katz) (187 reputation) Uriel Katz Commented (2011-05-11 12:25:03Z, License: CC BY-SA 3.0) May 11, 2011 at 12:25 For your #3, did you use the http server support built in gevent < 1.0? The latest gevent does not have http support, only wsgi, so I was wondering what to use. I guess I can use Django... – (/users/118536/andr%c3%a9-cruz) (510 reputation) André Cruz Commented (2012-04-29 10:04:04Z, License: CC BY-SA 3.0) Apr 29, 2012 at 10:04 (number of 'useful comment' votes received) 1 If you server can be assigned multiple IPs then it is possible to bind dedicated upload server to second IP. Consequence is that you need separate host name for it and this may cause cross-domain policy issues on client. – (/users/446210/gertas) (17,155 reputation) gertas Commented (2012-07-19 07:51:57Z, License: CC BY-SA 3.0) Jul 19, 2012 at 7:51 (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) Add a comment | (Expand to show all comments on this post) 4 Answers 4 Sorted by: (/questions/5963080/disable-request-buffering-in-nginx?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful (70:3:31e,16:7c48f8284105ad33,10:1744305280,16:e468a7db2b8880da,8:28056033,4ec3da274cb0e0b546cafb0bf514014217ead934cc058c4297b9705edcf47708) 14 (This answer is not useful) (70:3:31e,16:46eaf8bcad9903a0,10:1744305280,16:55a1cb2a5ec51d32,8:28056033,6fff1592f9f7a8fbd575fffef62dc9f998496538817eb701cbfdfb0be03b085e) Save this answer. (Loading when this answer was accepted…) (/posts/28056033/timeline) Show activity on this post. As soon as this [1] feature is implemented, Nginx is able to act as reverse proxy without buffering for uploads (bug client requests). It should land in 1.7 which is the current mainline. [1] (http://trac.nginx.org/nginx/ticket/251) http://trac.nginx.org/nginx/ticket/251 Update This feature is available since 1.7.11 via the flag proxy_request_buffering on | off; (http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering) http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering (/a/28056033) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/28056033/edit) () Improve this answer Follow (70:3:31e,16:70b60585543444ea,10:1744305280,16:50cf26ba6464e434,8:28056033,99ca9f3858af1a3ff1591c7f4398d680d84cb0f9f6734c3b59bf299a91a8cb7f) Follow this answer to receive notifications (/posts/28056033/revisions) (show all edits to this post) edited (2015-04-29 10:13:14Z) Apr 29, 2015 at 10:13 answered (2015-01-20 22:07:04Z) Jan 20, 2015 at 22:07 (/users/1821792/vanthome) (vanthome's user avatar) (/users/1821792/vanthome) vanthome vanthome (reputation score) 4,934 (39 silver badges) 39 39 silver badges (46 bronze badges) 46 46 bronze badges 1 (number of 'useful comment' votes received) 1 Version 1.7.11 published on March 24th 2015 brought this feature – (/users/1086156/basbebe) (577 reputation) basbebe Commented (2015-04-09 20:40:11Z, License: CC BY-SA 3.0) Apr 9, 2015 at 20:40 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:8dc8afe8519bc340,10:1744305280,16:5bbb080e8ba18ba8,8:12288463,823f52ab6c27cbafe78054fce5482dbffe394964ac641c5dd12f4834e57ece3d) 5 (This answer is not useful) (70:3:31e,16:84378b63d136bc87,10:1744305280,16:51a807dec02769d6,8:12288463,3cb20302b8ffcde5bb2033edb2bc9ee1884293ef2b2f02e9071c3da051a23439) Save this answer. (Loading when this answer was accepted…) (/posts/12288463/timeline) Show activity on this post. According to (http://gunicorn.org/deploy.html) Gunicorn , they suggest you use nginx to actually buffer clients and prevent slowloris attacks. So this buffering is likely a good thing. However, I do see an option further down on that link I provided where it talks about removing the proxy buffer, it's not clear if this is within nginx or not, but it looks as though it is. Of course this is under the assumption you have Gunicorn running, which you do not. Perhaps it's still useful to you. EDIT: I did some research and that buffer disable in nginx is for outbound, long-polling data. Nginx states on their (http://wiki.nginx.org/HttpProxyModule) wiki site that inbound requests have to be buffered before being sent upstream. "Note that when using the HTTP Proxy Module (or even when using FastCGI), the entire client request will be buffered in nginx before being passed on to the backend proxied servers. As a result, upload progress meters will not function correctly if they work by measuring the data received by the backend servers." (/a/12288463) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/12288463/edit) () Improve this answer Follow (70:3:31e,16:bf6513a50f112068,10:1744305280,16:373dc19db38362e8,8:12288463,ad4fb14c3808f910e5a336a570754e152778e4cdda31ddc0119be654010084ac) Follow this answer to receive notifications (/posts/12288463/revisions) (show all edits to this post) edited (2012-09-06 16:14:49Z) Sep 6, 2012 at 16:14 answered (2012-09-05 19:30:54Z) Sep 5, 2012 at 19:30 (/users/1298523/scape) (scape's user avatar) (/users/1298523/scape) scape scape (reputation score) 707 (13 silver badges) 13 13 silver badges (29 bronze badges) 29 29 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:a7b17730d7eea3cd,10:1744305280,16:92f8672388ce9d8a,8:29827961,5b64465324cceec6113037de43b5a854b58321cb11fbd65091a2b72f87f12e17) 5 (This answer is not useful) (70:3:31e,16:3f86ecb1ebfe55df,10:1744305280,16:9e301b03df8e4fe5,8:29827961,24679d2e5ea4f3d945424c87ac45d9bf021667ad6b9e930add76f1a6a0223535) Save this answer. (Loading when this answer was accepted…) (/posts/29827961/timeline) Show activity on this post. Now available in nginx since version nginx-1.7.11. See documentation (http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering) http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering To disable buffering the upload specify proxy_request_buffering off; (/a/29827961) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/29827961/edit) () Improve this answer Follow (70:3:31e,16:c6551a9a1839e2cc,10:1744305280,16:e2b1a4b4f0d1152a,8:29827961,a9ef267e8be01f2c975a66b36a22003007ce239e1f5429f1eb86d60e16d210a7) Follow this answer to receive notifications answered (2015-04-23 15:28:48Z) Apr 23, 2015 at 15:28 (/users/3016377/philip) (Philip's user avatar) (/users/3016377/philip) Philip Philip (reputation score) 51 (2 silver badges) 2 2 silver badges (2 bronze badges) 2 2 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (69:3:31e,16:587bfa56682d0247,10:1744305280,16:acdaf01e9571059b,7:6533280,4890ec0f650c05dd62b8cdc7cb632985a11b9917ad34b7fc0e6426ec4c3afba5) -1 (This answer is not useful) (69:3:31e,16:096bc195941b87f4,10:1744305280,16:95f656787b5e0dd9,7:6533280,52f5a0b50d6d35adf24ac312cf81e46d49aa8d65a47ceb95c136c4253e23d211) Save this answer. (Loading when this answer was accepted…) (/posts/6533280/timeline) Show activity on this post. I'd look into haproxy to fulfill this need. (/a/6533280) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/6533280/edit) () Improve this answer Follow (69:3:31e,16:dfc50f96309e201e,10:1744305280,16:9ee36fa1f58cd1f7,7:6533280,74deca68ca498f7cc97a88edebb8b8af45364c76230cf62f0ffb51e8cf799915) Follow this answer to receive notifications answered (2011-06-30 10:18:08Z) Jun 30, 2011 at 10:18 (/users/105456/tmc) (tmc's user avatar) (/users/105456/tmc) tmc tmc (reputation score) 726 (7 silver badges) 7 7 silver badges (15 bronze badges) 15 15 bronze badges 1 HA proxy doesn't support SSL, other that that AFAIK it only processes first request's headers in keep-alive session. – (/users/446210/gertas) (17,155 reputation) gertas Commented (2012-07-19 07:47:14Z, License: CC BY-SA 3.0) Jul 19, 2012 at 7:47 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) (5963080) (false) () (0) Your Answer (True) Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question . Provide details and share your research! But avoid … Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our (/help/how-to-answer) tips on writing great answers . Draft saved Draft discarded (49d57158e71d99a3e199ca788c9ff79631f500ae49450085e1afebebfcfdd8cf) Sign up or (/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f5963080%2fdisable-request-buffering-in-nginx%23new-answer) log in Sign up using Google Sign up using Email and Password (false) (false) Submit Post as a guest Name () () Email Required, but never shown () () Post as a guest Name () () Email Required, but never shown () () Post Your Answer Discard By clicking “Post Your Answer”, you agree to our (https://stackoverflow.com/legal/terms-of-service/public) terms of service and acknowledge you have read our (https://stackoverflow.com/legal/privacy-policy) privacy policy .(1) Start asking to get answers Find the answer to your question by asking. (/questions/ask) Ask question Explore related questions (/questions/tagged/file-upload) (show questions tagged 'file-upload') file-upload (/questions/tagged/nginx) (show questions tagged 'nginx') nginx (/questions/tagged/asyncfileupload) (show questions tagged 'asyncfileupload') asyncfileupload (/questions/tagged/gevent) (show questions tagged 'gevent') gevent See similar questions with these tags. The Overflow Blog (https://stackoverflow.blog/2025/04/07/open-source-ai-are-younger-developers-leading-the-way/?cb=1) Open-source AI: Are younger developers leading the way? (https://stackoverflow.blog/2025/04/08/bottom-of-the-first-a-veteran-vc-s-take-on-the-ai-landscape/?cb=1) Bottom of the first: A veteran VC’s take on the AI landscape Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/407927/changes-to-reporting-for-the-status-review-escalation-process?cb=1) Changes to reporting for the [status-review] escalation process (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned?cb=1) Policy: Generative AI (e.g., ChatGPT) is banned (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/433466/a-discussion-about-closed-and-potentially-useful-posts-on-stack-overflow?cb=1) A discussion about closed (and potentially useful) posts on Stack Overflow Linked (https://stackoverflow.com/q/6587164?lq=1) (Question score (upvotes - downvotes)) 9 (https://stackoverflow.com/questions/6587164/how-to-tell-django-not-to-buffer-the-http-post-data?noredirect=1&lq=1) How to tell Django not to buffer the HTTP POST data? Related (https://stackoverflow.com/q/4947107?rq=3) (Question score (upvotes - downvotes)) 122 (https://stackoverflow.com/questions/4947107/nginx-upload-client-max-body-size-issue?rq=3) nginx upload client_max_body_size issue (https://stackoverflow.com/q/10130331?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/10130331/does-the-current-nginx-have-some-kind-of-buffer-support-for-uploading-large-file?rq=3) Does the current NGINX have some kind of buffer support for uploading large files? (https://stackoverflow.com/q/12282342?rq=3) (Question score (upvotes - downvotes)) 49 (https://stackoverflow.com/questions/12282342/nginx-files-upload-streaming-with-proxy-pass?rq=3) nginx files upload streaming with proxy_pass (https://stackoverflow.com/q/25390724?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/25390724/allow-slow-connections-to-upload-images-with-nginx?rq=3) Allow slow connections to upload images with NGINX (https://stackoverflow.com/q/29888059?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/29888059/file-upload-progress-without-losing-page-state?rq=3) File Upload progress without losing page state (https://stackoverflow.com/q/31251429?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/31251429/receiving-as-much-of-an-http-request-as-possible-that-didnt-complete?rq=3) Receiving as much of an HTTP request as possible that didn't complete (https://stackoverflow.com/q/35558066?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/35558066/ajax-file-upload-timeouts-with-large-files?rq=3) $.ajax file upload timeouts with large files (https://stackoverflow.com/q/36429470?rq=3) (Question score (upvotes - downvotes)) 6 (https://stackoverflow.com/questions/36429470/nginx-file-upload-with-client-body-in-file-only?rq=3) nginx file upload with client_body_in_file_only (https://stackoverflow.com/q/42856807?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/42856807/ng-file-upload-open-file-too-slow?rq=3) ng-file-upload open file too slow (https://stackoverflow.com/q/53164422?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/53164422/ngx-uploader-upload-progress-jumping-to-100?rq=3) NGX Uploader upload progress jumping to 100% (https://stackexchange.com/questions?tab=hot) Hot Network Questions (Biology Stack Exchange) (https://biology.stackexchange.com/questions/116338/how-close-are-genome-edited-de-extinct-animals-to-their-extinct-counterparts) How "close" are genome-edited "de-extinct" animals to their extinct counterparts? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/847190/when-you-walk-up-an-inclined-plane-does-the-plane-do-work-on-you) When you walk up an inclined plane, does the plane do work on you? (Role-playing Games Stack Exchange) (https://rpg.stackexchange.com/questions/215201/ideas-for-a-group-with-great-variability) Ideas for a group with great variability (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/265841/minimum-age-for-safe-and-effective-tattooing) Minimum age for safe and effective tattooing (Travel Stack Exchange) (https://travel.stackexchange.com/questions/194737/how-do-i-regulate-my-temperature-effectively-in-a-hotel-bed-when-they-all-only-g) How do I regulate my temperature effectively in a hotel bed when they all only give thick duvets and no sheets? (Mathematica Stack Exchange) (https://mathematica.stackexchange.com/questions/312083/how-to-use-mathematica-to-do-multivariate-partial-fraction-decompositions) How to use Mathematica to do multivariate partial fraction decompositions? (Arqade) (https://gaming.stackexchange.com/questions/411790/how-am-i-touching-thorns-without-taking-damage) How am I touching thorns without taking damage? (Unix & Linux Stack Exchange) (https://unix.stackexchange.com/questions/793518/extend-multiple-globbing-patterns-with-same-additional-pattern-at-the-same-time) Extend multiple globbing patterns with same additional pattern at the same time (Puzzling Stack Exchange) (https://puzzling.stackexchange.com/questions/131359/some-people-have-4-times-less-than-everyone-else) some people have 4 times less than everyone else (Gardening & Landscaping Stack Exchange) (https://gardening.stackexchange.com/questions/67861/is-using-a-mulcher-mower-exclusively-bad-for-the-lawn-in-the-long-run) Is using a mulcher mower exclusively bad for the lawn, in the long run? (History of Science and Mathematics Stack Exchange) (https://hsm.stackexchange.com/questions/18465/in-what-document-was-the-expression-differential-equation-first-used) In what document was the expression "differential equation" first used? (Academia Stack Exchange) (https://academia.stackexchange.com/questions/217827/what-should-i-do-as-a-foreign-academic-in-the-us-who-participated-in-pro-palesti) What should I do as a foreign academic in the US who participated in pro-Palestinian protests? (Skeptics Stack Exchange) (https://skeptics.stackexchange.com/questions/57810/did-colonel-sanders-drive-250-000-miles-per-year) Did Colonel Sanders drive 250,000 miles per year? (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/295958/im-looking-for-a-short-story-most-likely-by-asimov-but-may-also-be-by-bradbur) I'm looking for a short story (most likely by Asimov, but may also be by Bradbury or Clarke) on chirality (Salesforce Stack Exchange) (https://salesforce.stackexchange.com/questions/431273/apparent-inconsistencies-between-sobject-sobjecttype-getdescribe-and-schema) Apparent inconsistencies between .sObjectType.getDescribe() and Schema.sObjectType. (History Stack Exchange) (https://history.stackexchange.com/questions/77670/why-does-this-card-contain-the-phrase-bat-card) Why does this card contain the phrase "Bat Card"? (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/265854/crash-landing-as-a-cost-effective-landing-method-for-raw-materials) Crash landing as a cost effective landing method for raw materials (Movies & TV Stack Exchange) (https://movies.stackexchange.com/questions/125061/in-robots-2005-how-did-ratchet-gain-effective-control-of-bigweld-industries) In Robots (2005) how did Ratchet gain effective control of Bigweld Industries? (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/743401/any-ideas-what-might-have-burnt-up-here) Any ideas what might have burnt up here (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/295957/story-about-boy-who-discovers-he-is-the-last-human) Story about boy who discovers he is the last human (MathOverflow) (https://mathoverflow.net/questions/490711/a-simple-looking-inequality-for-orthogonal-vectors) A simple-looking inequality for orthogonal vectors (English Language & Usage Stack Exchange) (https://english.stackexchange.com/questions/630674/is-escort-primarily-associated-with-paid-companionship-in-modern-english) Is "escort" primarily associated with paid companionship in modern English? (Unix & Linux Stack Exchange) (https://unix.stackexchange.com/questions/793428/why-am-i-known-as-a-user) Why am I known as a user? (Movies & TV Stack Exchange) (https://movies.stackexchange.com/questions/125043/why-was-rod-driving-a-police-car-alone) Why was Rod driving a police car alone? (/feeds/question/5963080) (Feed of this question and its answers) Question feed Subscribe to RSS Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader. (https://stackoverflow.com/feeds/question/5963080) () (https://stackoverflow.com) (https://stackoverflow.com) Stack Overflow (/questions) Questions (/help) Help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) Chat (https://stackoverflow.co/) Products (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Teams (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Advertising (https://stackoverflow.co/advertising/employer-branding/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=talent) Talent (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (/contact) Contact Us Your Privacy Choices (https://stackoverflow.com/legal/cookie-policy) Cookie Policy (https://stackexchange.com) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2025.4.9.24965