{"id":9458,"date":"2025-09-12T04:35:27","date_gmt":"2025-09-12T04:35:27","guid":{"rendered":"https:\/\/ubiq.co\/tech-blog\/?p=9458"},"modified":"2026-02-09T07:36:05","modified_gmt":"2026-02-09T07:36:05","slug":"increase-request-timeout-nginx","status":"publish","type":"post","link":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/","title":{"rendered":"How to Increase Request Timeout in NGINX"},"content":{"rendered":"\n<p>NGINX is a popular web server used by many high-traffic websites and applications. It supports very extreme server loads using very few resources. This results in a very fast user experience. But sometimes, a user may receive request timeout while trying to load a page. There are can be several reasons for this. In this article, we will learn about the different types of request timeouts, and how to increase request timeout in NGINX.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#Types_of_Request_Timeout_in_NGINX\" >Types of Request Timeout in NGINX<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#504_Gateway_Timeout_Error\" >504 Gateway Timeout Error<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#408_Request_Timeout\" >408 Request Timeout<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#413_Request_Too_Large\" >413 Request Too Large<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#Different_Timeout_Directives_in_NGINX\" >Different Timeout Directives in NGINX<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#How_to_Use_Timeout_Directives\" >How to Use Timeout Directives<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#Steps_to_Increase_Request_Timeout_in_NGINX\" >Steps to Increase Request Timeout in NGINX<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#1_Open_NGINX_Configuration_File\" >1. Open NGINX Configuration File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#2_Add_or_Modify_Timeout_Directives\" >2. Add or Modify Timeout Directives<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#3_Test_Configuration\" >3. Test Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#4_Restart_Server\" >4. Restart Server<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Types_of_Request_Timeout_in_NGINX\"><\/span>Types of Request Timeout in NGINX<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are mainly 3 types of request timeouts that users may come across while using NGINX server. They are:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"504_Gateway_Timeout_Error\"><\/span>504 Gateway Timeout Error<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>This is the most common request timeout response you get while using NGINX. It happens when NGINX is set up as a <a href=\"https:\/\/www.fortinet.com\/resources\/cyberglossary\/proxy-server\">proxy server<\/a> and has to keep waiting for the response from an upstream server, such as a database or application server. This occurs due to server reasons such as the upstream server is down or overloaded, slow network connect between NGINX and upstream server, or faulty NGINX configuration.<\/p>\n\n\n\n<p>Sometimes, NGINX may also return a <a href=\"https:\/\/ubiq.co\/tech-blog\/fix-502-bad-gateway-error-nginx\/\">502 bad gateway error<\/a> if it is unable to successfully connect to upstream server or the upstream server returns invalid response.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"408_Request_Timeout\"><\/span>408 Request Timeout<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You get this type of request timeout response when NGINX does not receive a complete request from the client within a specific time limit. This error occurs mainly due to a slow client, and not NGINX server. It happens because of network connection issues between the client and server, or if the request itself gets timed out on client side. It may also be due to incorrect NGINX configuration.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"413_Request_Too_Large\"><\/span>413 Request Too Large<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>NGINX returns &#8216;413 Request Entity Too Large&#8217; response in case the client request size is much bigger than the limit allowed on NGINX Server. You will see this problem mostly in case of file uploads, if you try to <a href=\"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-nginx\/\">upload a large file in NGINX<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Different_Timeout_Directives_in_NGINX\"><\/span>Different Timeout Directives in NGINX<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are several timeout directives supported by NGINX server, each meant for a specific purpose. You can increase request timeout by simply setting their values as per your requirement. Here are the most common ones.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>keepalive_timeout \u2013 max time for a client connection to be kept on the server<\/li>\n\n\n\n<li>send_timeout \u2013 max time to send a response back to a client<\/li>\n\n\n\n<li>proxy_connect_timeout \u2013 max time to connect to proxied server<\/li>\n\n\n\n<li>proxy_read_timeout \u2013 max time to read a single proxied server response<\/li>\n\n\n\n<li>proxy_send_timeout \u2013 max time to send a single proxied server request<\/li>\n\n\n\n<li>client_body_timeout \u2013 max time to read the body of a single client request<\/li>\n\n\n\n<li>client_header_timeout \u2013 max time to read the header of a single client request<\/li>\n\n\n\n<li>fastcgi_connect_timeout \u2013 max time to connect to FastCGI server<\/li>\n\n\n\n<li>fastcgi_read_timeout \u2013 max time to read a single FastCGI server response<\/li>\n\n\n\n<li>fastcgi_send_timeout \u2013 max time to send a single FastCGI server request<\/li>\n<\/ul>\n\n\n\n<p>Depending on your NGINX configuration, and the type of request timeout, you need to use the appropriate directive. Each of these directives has a default timeout value of 60 seconds. They accept multiple time dimensions such as s for seconds, d for days, and so on. Here is an example to set send_timeout directive to 100 seconds.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">send_timeout 100s<\/pre>\n\n\n\n<p>The above directives work for 504 and 408 error response codes. But if your users get &#8216;413: Request Entity Too Large&#8217; then you need to increase the max request body size accepted by your server. For this purpose, you need to use the client_max_body_size directive. Here is an example to set it to 10Mb size.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">client_max_body_size 10M;<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Use_Timeout_Directives\"><\/span>How to Use Timeout Directives<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Each of the above mentioned directives can be included in main <em>http<\/em> block, any of the <em>server<\/em> blocks or <em>location<\/em> blocks. <\/p>\n\n\n\n<p>Here are different examples to set request timeout to 300 seconds. When you include the directive in an http block, it will be applicable to all servers that are running in this http block. This is useful if you want to consistently set timeout values across multiple domains, sub domains and apps.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">http{<br>...<br>  send_timeout 300s;<br>...<br>}<\/pre>\n\n\n\n<p>When you add the directive in a server block, it will be applied only to that specific block and not the others. But it will be applicable to all URLs served by that server block. This is useful if you wish to have separate timeout values for each website\/domain or subdomain.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">server{<br>...<br>  send_timeout 300s;<br>...<br>}<\/pre>\n\n\n\n<p>When you include the directive in a location block, then it will be applied only to all URLs served by that location block and not the other location blocks in that server. This allows you to precisely increase the request timeouts as required.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">location \/ {<br>...<br>  send_timeout 300s;<br>...<br>}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Steps_to_Increase_Request_Timeout_in_NGINX\"><\/span>Steps to Increase Request Timeout in NGINX<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>By default, the request timeout value is 60 seconds. Here are the steps to increase request timeout in NGINX to 300 seconds.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Open_NGINX_Configuration_File\"><\/span>1. Open NGINX Configuration File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>First, we need to open NGINX configuration file nginx.conf in vi editor. It is generally located at \/etc\/nginx or \/usr\/local\/etc\/nginx<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo vi \/etc\/nginx\/nginx.conf<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Add_or_Modify_Timeout_Directives\"><\/span>2. Add or Modify Timeout Directives<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Let us say you have setup NGINX as a proxy and want to increase request timeout for all websites &amp; apps hosted on your NGINX. In that case, we add the following <em>send_timeout<\/em> directive to http block.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">http {<br>...<br>send_timeout 300s;<br>...<br>}<\/pre>\n\n\n\n<p>Depending on your requirement, you can use any of the timeout directives that we have described earlier.  Sometimes, you may need to use more than one timeout directives. If you want to completely disable the timeout then set it to a large value like 1 day or so, as shown. But please note, doing so will increase resource consumption of your server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">send_timeout 1d;<\/pre>\n\n\n\n<p>Save and close the file.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Test_Configuration\"><\/span>3. Test Configuration<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Run the following command to test configuration.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo nginx -t<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Restart_Server\"><\/span>4. Restart Server<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Run the following command to restart NGINX server and apply changes.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl restart nginx<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Users may get timed out due to several reasons such as network issues, server overload or faulty configuration. In this article, we have learnt several simple ways to increase request timeout in NGINX server. It is very useful to prevent your users from getting timed out, due to NGINX configuration. If your website or application uses long running processes, such as in case of <a href=\"\/data-analysis-tool\">data analytics &amp; reporting<\/a>, then you may need to increase request timeout value for your server. But please note, if you increase request timeout for your server, then it will have to serve more connections at the same time, since they will continue to exist longer. This means your server will consume more resources. So there needs to be a balance between your server&#8217;s request timeout value and the resources it consumes.<\/p>\n\n\n\n<p>Also read:<br><a href=\"https:\/\/ubiq.co\/tech-blog\/how-to-uninstall-nginx\/\">How to Uninstall NGINX Server<\/a><br><a href=\"https:\/\/ubiq.co\/tech-blog\/how-to-password-protect-directory-in-nginx\/\">How to Password Protect Directory in NGINX<\/a><br><a href=\"https:\/\/ubiq.co\/tech-blog\/nginx-restrict-access-to-directory-and-subdirectories\/\">NGINX Restrict Access to Directory<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you may get &#8216;request timed out&#8217; error in NGINX server. Here are the different ways to increase request timeout in NGINX.<\/p>\n","protected":false},"author":1,"featured_media":9480,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[99],"class_list":["post-9458","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nginx","tag-request-timeout"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Increase Request Timeout in NGINX - Ubiq BI<\/title>\n<meta name=\"description\" content=\"Sometimes you may get &#039;request timed out&#039; error in NGINX server. Here are the different ways to increase request timeout in NGINX.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Increase Request Timeout in NGINX - Ubiq BI\" \/>\n<meta property=\"og:description\" content=\"Sometimes you may get &#039;request timed out&#039; error in NGINX server. Here are the different ways to increase request timeout in NGINX.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/\" \/>\n<meta property=\"og:site_name\" content=\"Ubiq BI\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ubiqbi\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-12T04:35:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-09T07:36:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/09\/increase-request-timeout-nginx.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Sreeram Sreenivasan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@UbiqBI\" \/>\n<meta name=\"twitter:site\" content=\"@UbiqBI\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sreeram Sreenivasan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/\"},\"author\":{\"name\":\"Sreeram Sreenivasan\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc\"},\"headline\":\"How to Increase Request Timeout in NGINX\",\"datePublished\":\"2025-09-12T04:35:27+00:00\",\"dateModified\":\"2026-02-09T07:36:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/\"},\"wordCount\":1112,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/09\/increase-request-timeout-nginx.jpg?fit=300%2C200&ssl=1\",\"keywords\":[\"request timeout\"],\"articleSection\":[\"Nginx\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/\",\"url\":\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/\",\"name\":\"How to Increase Request Timeout in NGINX - Ubiq BI\",\"isPartOf\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/09\/increase-request-timeout-nginx.jpg?fit=300%2C200&ssl=1\",\"datePublished\":\"2025-09-12T04:35:27+00:00\",\"dateModified\":\"2026-02-09T07:36:05+00:00\",\"author\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc\"},\"description\":\"Sometimes you may get 'request timed out' error in NGINX server. Here are the different ways to increase request timeout in NGINX.\",\"breadcrumb\":{\"@id\":\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/09\/increase-request-timeout-nginx.jpg?fit=300%2C200&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/09\/increase-request-timeout-nginx.jpg?fit=300%2C200&ssl=1\",\"width\":300,\"height\":200,\"caption\":\"increase request timeout in nginx\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ubiq.co\/tech-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Increase Request Timeout in NGINX\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/#website\",\"url\":\"https:\/\/ubiq.co\/tech-blog\/\",\"name\":\"Ubiq BI\",\"description\":\"Build dashboards &amp; reports in minutes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ubiq.co\/tech-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc\",\"name\":\"Sreeram Sreenivasan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"caption\":\"Sreeram Sreenivasan\"},\"description\":\"Sreeram Sreenivasan is the Founder of Ubiq. He has helped many Fortune 500 companies in the areas of BI &amp; software development.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/sreeram-sreenivasan\/\"],\"url\":\"https:\/\/ubiq.co\/tech-blog\/author\/wordpress\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Increase Request Timeout in NGINX - Ubiq BI","description":"Sometimes you may get 'request timed out' error in NGINX server. Here are the different ways to increase request timeout in NGINX.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/","og_locale":"en_US","og_type":"article","og_title":"How to Increase Request Timeout in NGINX - Ubiq BI","og_description":"Sometimes you may get 'request timed out' error in NGINX server. Here are the different ways to increase request timeout in NGINX.","og_url":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/","og_site_name":"Ubiq BI","article_publisher":"https:\/\/www.facebook.com\/ubiqbi","article_published_time":"2025-09-12T04:35:27+00:00","article_modified_time":"2026-02-09T07:36:05+00:00","og_image":[{"width":300,"height":200,"url":"https:\/\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/09\/increase-request-timeout-nginx.jpg","type":"image\/jpeg"}],"author":"Sreeram Sreenivasan","twitter_card":"summary_large_image","twitter_creator":"@UbiqBI","twitter_site":"@UbiqBI","twitter_misc":{"Written by":"Sreeram Sreenivasan","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#article","isPartOf":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/"},"author":{"name":"Sreeram Sreenivasan","@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc"},"headline":"How to Increase Request Timeout in NGINX","datePublished":"2025-09-12T04:35:27+00:00","dateModified":"2026-02-09T07:36:05+00:00","mainEntityOfPage":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/"},"wordCount":1112,"commentCount":0,"image":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/09\/increase-request-timeout-nginx.jpg?fit=300%2C200&ssl=1","keywords":["request timeout"],"articleSection":["Nginx"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/","url":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/","name":"How to Increase Request Timeout in NGINX - Ubiq BI","isPartOf":{"@id":"https:\/\/ubiq.co\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#primaryimage"},"image":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/09\/increase-request-timeout-nginx.jpg?fit=300%2C200&ssl=1","datePublished":"2025-09-12T04:35:27+00:00","dateModified":"2026-02-09T07:36:05+00:00","author":{"@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc"},"description":"Sometimes you may get 'request timed out' error in NGINX server. Here are the different ways to increase request timeout in NGINX.","breadcrumb":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#primaryimage","url":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/09\/increase-request-timeout-nginx.jpg?fit=300%2C200&ssl=1","contentUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/09\/increase-request-timeout-nginx.jpg?fit=300%2C200&ssl=1","width":300,"height":200,"caption":"increase request timeout in nginx"},{"@type":"BreadcrumbList","@id":"https:\/\/ubiq.co\/tech-blog\/increase-request-timeout-nginx\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ubiq.co\/tech-blog\/"},{"@type":"ListItem","position":2,"name":"How to Increase Request Timeout in NGINX"}]},{"@type":"WebSite","@id":"https:\/\/ubiq.co\/tech-blog\/#website","url":"https:\/\/ubiq.co\/tech-blog\/","name":"Ubiq BI","description":"Build dashboards &amp; reports in minutes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ubiq.co\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc","name":"Sreeram Sreenivasan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","caption":"Sreeram Sreenivasan"},"description":"Sreeram Sreenivasan is the Founder of Ubiq. He has helped many Fortune 500 companies in the areas of BI &amp; software development.","sameAs":["https:\/\/www.linkedin.com\/in\/sreeram-sreenivasan\/"],"url":"https:\/\/ubiq.co\/tech-blog\/author\/wordpress\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/09\/increase-request-timeout-nginx.jpg?fit=300%2C200&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/pbGGTT-2sy","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/9458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/comments?post=9458"}],"version-history":[{"count":32,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/9458\/revisions"}],"predecessor-version":[{"id":10545,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/9458\/revisions\/10545"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/media\/9480"}],"wp:attachment":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/media?parent=9458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/categories?post=9458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/tags?post=9458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}