<div dir="ltr">If you want to stream the upload directly to your backend, you should consider fastcgi_request_buffering[1].<div><br></div><div>The problem is most likely with your PHP backend though, you should examine why it takes so long to process the request.<br><div><br></div><div>[1] <a href="http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_request_buffering">http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_request_buffering</a><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 29, 2017 at 12:01 PM, Andrea Soracchi <span dir="ltr"><<a href="mailto:soracchi@multidialogo.it" target="_blank">soracchi@multidialogo.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">Hi Payam,<br><br>the problem is between Nginx and Php-fpm, but <br><br>I have set the debug level log to nginx and php-fpm.<br><br><span style="font-weight:bold">Nginx:</span><br><br>2017/06/29 10:05:14 [warn] 5252#5252: *1613 a client request body is buffered to a temporary file /var/lib/nginx/body/<wbr>0000000044, client: 192.168.18.18, server: <a href="http://andrea.eoraptor3.netbuilder.it" target="_blank">andrea.eoraptor3.netbuilder.it</a><wbr>, request: "POST /index2.php HTTP/1.1", host: "<a href="http://andrea.eoraptor3.netbuilder.it" target="_blank">andrea.eoraptor3.netbuilder.<wbr>it</a>"<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 write: 9, 0000560D636FBE70, 8192, 0<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 recv: fd:3 5488 of 8192<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body recv 5488<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body rest 54606013<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 recv: fd:3 -1 of 2704<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 recv() not ready (11: Resource temporarily unavailable)<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body recv -2<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body rest 54606013<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 event timer: 3, old: 1498723634292, new: 1498723634292<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http run request: "/index2.php?"<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http read client request body<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 recv: fd:3 1368 of 2704<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body recv 1368<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body rest 54606013<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 recv: fd:3 -1 of 1336<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 recv() not ready (11: Resource temporarily unavailable)<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body recv -2<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body rest 54606013<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 event timer: 3, old: 1498723634292, new: 1498723634293<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http run request: "/index2.php?"<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http read client request body<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 recv: fd:3 1336 of 1336<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body recv 1336<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http body new buf t:1 f:0 0000560D636FBE70, pos 0000560D636FBE70, size: 8192 file: 0, size: 0<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http write client request body, bufs 0000560D636F92C0<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 write: 9, 0000560D636FBE70, 8192, 8192<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 recv: fd:3 1400 of 8192<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body recv 1400<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body rest 54597821<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 recv: fd:3 -1 of 6792<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 recv() not ready (11: Resource temporarily unavailable)<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body recv -2<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http client request body rest 54597821<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 event timer: 3, old: 1498723634292, new: 1498723634293<br>2017/06/29 10:05:14 [debug] 5252#5252: *1613 http run request: "/index2.php?"<br>...<br>Repeated several times<br>...<br>...<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 writev() not ready (11: Resource temporarily unavailable)<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 chain writer out: 0000560D637FE780<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 event timer: 10, old: 1498723575096, new: 1498723575151<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 http upstream request: "/index2.php?"<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 http upstream send request handler<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 http upstream send request<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 http upstream send request body<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 chain writer in: 0000560D637FE780<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 writev: 8 of 8<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 sendfile: @54591488 22717<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 sendfile: 22717 of 22717 @54591488<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 writev: 11 of 11<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 chain writer out: 0000000000000000<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 event timer del: 10: 1498723575096<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 event timer add: 10: 300000:1498723815151<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 http upstream request: "/index2.php?"<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 http upstream dummy handler<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 http upstream request: "/index2.php?"<br>2017/06/29 10:05:15 [debug] 5252#5252: *1613 http upstream dummy handler<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http upstream request: "/index2.php?"<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http upstream process header<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 malloc: 0000560D637FF560:4096<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 recv: fd:10 56 of 4096<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi record byte: 01<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi record byte: 06<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi record byte: 00<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi record byte: 01<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi record byte: 00<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi record byte: 1D<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi record byte: 03<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi record byte: 00<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi record length: 29<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi parser: 0<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi header: "Content-type: text/html"<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi parser: 1<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 http fastcgi header done<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 xslt filter header<br>2017/06/29 10:05:40 [debug] 5252#5252: *1613 HTTP/1.1 200 OK^M<br><br><br><span style="font-weight:bold">Php-fpm:</span><br><br>PHPFPM<br><br>[29-Jun-2017 10:05:14.699514] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 0 active children, 3 spare children, 3 running children. Spawning rate 1<br><br>[29-Jun-2017 10:05:16.700710] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1 <br>[29-Jun-2017 10:05:17.701773] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:18.702842] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:19.703778] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:20.705400] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:21.706471] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:22.707537] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:23.707779] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:24.708839] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:25.710378] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:26.710841] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:27.711798] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:28.712864] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1 <br>[29-Jun-2017 10:05:29.713932] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:30.715523] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:31.715785] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1 <br>[29-Jun-2017 10:05:32.716851] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br>[29-Jun-2017 10:05:32.716851] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1 <br>[29-Jun-2017 10:05:33.717931] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1 <br>[29-Jun-2017 10:05:34.719001] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1 <br>[29-Jun-2017 10:05:35.720280] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1 <br>[29-Jun-2017 10:05:36.720662] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1 <br>[29-Jun-2017 10:05:37.721725] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1 <br>[29-Jun-2017 10:05:38.722791] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1 <br>[29-Jun-2017 10:05:39.723785] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 1 active children, 2 spare children, 3 running children. Spawning rate 1<br><br>[29-Jun-2017 10:05:40.725342] DEBUG: pid 5135, fpm_pctl_perform_idle_server_<wbr>maintenance(), line 379: [pool mdbeta] currently 0 active children, 3 spare children, 3 running children. Spawning rate 1<br><br><br>Any idea?<span class=""><br><br>Thanks a lot,<br>Andrea<br><div><span name="x"></span><div style="border-style:none;border-width:1px 0px 0px;display:table;width:260px;font-size:13px;font-family:Arial;color:black"><div style="height:87px;width:90px;background-repeat:no-repeat;background-image:url("")"></div><div style="display:table-cell;vertical-align:middle"><p style="margin-bottom:0px;padding-top:0px;padding-bottom:0px;text-align:center;margin-top:0px"><strong style="color:rgb(17,37,75)">ANDREA SORACCHI</strong><br> <strong><a href="tel:+393290512702" style="text-decoration:none;color:rgb(17,37,75)" target="_blank"><span style="text-decoration:none;padding-top:10px;color:rgb(17,37,75)">+39 329 0512704</span></a></strong><br> <span style="font-size:10px;color:rgb(237,90,35)">System Engineer<br></span></p><p style="margin-bottom:0pt;margin-top:8px;padding-top:0px;text-align:center"><span style="font-size:10px;color:rgb(17,37,75);margin-bottom:0px">+39 0521 24 77 91</span><br> <span style="font-size:10px;color:rgb(17,37,75)"><a href="mailto:soracchi@netbuilder.it" target="_blank">soracchi@netbuilder.it</a></span></p></div></div><span name="x"></span><br></div><hr id="m_-5001745479659539669zwchr"></span><div style="color:rgb(0,0,0);font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>From: </b>"Payam Chychi" <<a href="mailto:pchychi@gmail.com" target="_blank">pchychi@gmail.com</a>><br><b>To: </b><a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br><b>Sent: </b>Giovedì, 29 giugno 2017 6:38:09<br><b>Subject: </b>Re: Strange issue after nginx update<div><div class="h5"><br><br><div><div dir="auto">Are you seeing any errors in your php log?</div></div><div dir="auto">are you connecting to the hostname or ip?</div><div dir="auto"><br></div><div dir="auto">Also, make sure your interface is connected at full duplex. whats the output of "<span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)">ethtool eth0" replace eth0 with your nic in use.</span></div><div dir="auto"><span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)"><br></span></div><div dir="auto"><span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)">not sure what else really...</span></div><div dir="auto"><span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)">id say to check dns but its all local to you</span></div><div dir="auto"><span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)"><br></span></div><div dir="auto"><span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)">- Payam</span></div><div dir="auto"><br></div><div dir="auto"><br></div><div><div class="gmail_quote"><div>On Wed, Jun 28, 2017 at 9:01 PM Anoop Alias <<a href="mailto:anoopalias01@gmail.com" target="_blank">anoopalias01@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>give a try changing the nameservers in /etc/resolv.conf </div><div class="gmail_extra"></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 29, 2017 at 3:51 AM, Andrea Soracchi <span><<a href="mailto:soracchi@multidialogo.it" target="_blank">soracchi@multidialogo.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><div>Hi,<br></div><div><br></div><div><span id="m_-5001745479659539669m_-6157745851360504815m_4724472238565423280result_box" class="m_-5001745479659539669m_-6157745851360504815m_4724472238565423280short_text" lang="en"><span>I have attached part of the ettercap log</span></span>. <br></div><div><br></div><div>I have posted a test file of 40MB. </div><div><br></div><div>The delay is 29 second: </div><div><br></div><div> from the last file's chunk at 23:56:06 </div><div> </div><div> to the response of index2.php at 23:56:35</div><div><br></div><div>The nginx's log show:</div><div><br></div><div>192.168.18.18 - - [28/Jun/2017:23:56:35 +0200] "POST /index2.php HTTP/1.1" 200 37 "-" "Generic Client"</div><div><br></div><div>Nothing retransmits, SElinux isn't installed and apparmor is stopped.<br></div><div><br></div><div>Nothing in dmesg...<br></div><div><br></div><div>Thanks a lot,<br></div><span><div><br></div><div><div style="border-style:none;border-width:1px 0px 0px;display:table;width:260px;font-size:13px;font-family:Arial;color:black"><div style="height:87px;width:90px;background-repeat:no-repeat"><br></div><div style="display:table-cell;vertical-align:middle"><p style="margin-bottom:0px;padding-top:0px;padding-bottom:0px;text-align:center;margin-top:0px"><strong style="color:rgb(17,37,75)">ANDREA SORACCHI</strong><br> <strong><a href="tel:+393290512702" style="text-decoration:none;color:rgb(17,37,75)" target="_blank"><span style="text-decoration:none;padding-top:10px;color:rgb(17,37,75)">+39 329 0512704</span></a></strong><br> <span style="font-size:10px;color:rgb(237,90,35)">System Engineer<br></span></p><p style="margin-bottom:0pt;margin-top:8px;padding-top:0px;text-align:center"><span style="font-size:10px;color:rgb(17,37,75);margin-bottom:0px">+39 0521 24 77 91</span><br> <span style="font-size:10px;color:rgb(17,37,75)"><a href="mailto:soracchi@netbuilder.it" target="_blank">soracchi@netbuilder.it</a></span></p></div></div></div><div><br></div></span><hr id="m_-5001745479659539669m_-6157745851360504815m_4724472238565423280zwchr"><div><b>Da: </b>"Payam Chychi" <<a href="mailto:pchychi@gmail.com" target="_blank">pchychi@gmail.com</a>><br><b>A: </b>"nginx" <<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a>><br><b>Inviato: </b>Mercoledì, 28 giugno 2017 19:56:04<br><b>Oggetto: </b>Re: Strange issue after nginx update<br></div><div><br></div><div><div><div dir="auto"><br></div><div class="gmail_quote"><span><div dir="auto">On Wed, Jun 28, 2017 at 8:41 AM Andrea Soracchi <<a href="mailto:soracchi@multidialogo.it" target="_blank">soracchi@multidialogo.it</a>> wrote:<br></div></span><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="m_-5001745479659539669m_-6157745851360504815h5"><div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">Hi,<br>could you please help me solve this issue? I'm getting crazy!<br><br>Before the nginx update my client worked perfectly: it posted files to my website without any delay.<br><br>How, after nginx update (ubuntu 16.04 LTS) I've got this issue:<br><br>- the client posts files successfully but the answer of the post is delayed. The more the file is bigger, the more the answer is delayed.<br><br>I put a sniffer into the website' server and I noticed that the nginx receives the post but it waits to transfer the file to php-fpm process, so also the answer to the client is delayed<br><br>The nginx server is:<br><br>nginx/1.10.0 (Ubuntu) and its conf is:<br><br>-----<br>user www-data;<br>worker_processes auto;<br>pid /run/nginx.pid;<br><br>events {<br> worker_connections 768;<br> # multi_accept on;<br>}<br><br>http {<br> sendfile on;<br> tcp_nodelay on;<br> keepalive_timeout 65;<br> types_hash_max_size 2048;<br> client_max_body_size 0;<br> log_not_found off;<br> server_name_in_redirect off;<br> client_body_timeout 120s;<br> autoindex off;<br> include /etc/nginx/mime.types;<br> default_type application/octet-stream;<br> ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE<br> ssl_prefer_server_ciphers on;<br> access_log /var/log/nginx/access.log;<br> error_log /var/log/nginx/error.log info;<br> gzip on;<br> gzip_disable "msie6";<br> gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;<br> include /etc/nginx/conf.d/*.conf;<br> include /etc/nginx/sites-enabled/*;<br>---<br><br>and website's php-fpm conf is:<br><br>server {<br> listen 80;<br> server_name <a href="http://test.it" target="_blank">test.it</a>;<br> server_name_in_redirect off;<br> autoindex off;<br> client_max_body_size 500m;<br> index index.html;<br> root /home/test/test;<br> location ~ \.(php|html|htm|php3)$ {<br> try_files $uri 404;<br> fastcgi_pass unix:/run/php/mdtest-fpm.sock;<br> include fastcgi_params;<br> }<br>}<br><br>fastcgi_params config:<br><br>fastcgi_param QUERY_STRING $query_string;<br>fastcgi_param REQUEST_METHOD $request_method;<br>fastcgi_param CONTENT_TYPE $content_type;<br>fastcgi_param CONTENT_LENGTH $content_length;<br><br>fastcgi_param SCRIPT_NAME $fastcgi_script_name;<br>fastcgi_param REQUEST_URI $request_uri;<br>fastcgi_param DOCUMENT_URI $document_uri;<br>fastcgi_param DOCUMENT_ROOT $document_root;<br>fastcgi_param SERVER_PROTOCOL $server_protocol;<br>fastcgi_param REQUEST_SCHEME $scheme;<br>fastcgi_param HTTPS $https if_not_empty;<br><br>fastcgi_param GATEWAY_INTERFACE CGI/1.1;<br>fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;<br><br>fastcgi_param REMOTE_ADDR $remote_addr;<br>fastcgi_param REMOTE_PORT $remote_port;<br>fastcgi_param SERVER_ADDR $server_addr;<br>fastcgi_param SERVER_PORT $server_port;<br>#fastcgi_param SERVER_NAME $server_name;<br>fastcgi_param SERVER_NAME $http_host;<br><br># PHP only, required if PHP was built with --enable-force-cgi-redirect<br>fastcgi_param REDIRECT_STATUS 200;<br><br>fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_<wbr>name;<br><br><br>Thanks a lot,<br>Andrea<br><br><div><span></span><div style="border-style:none;border-width:1px 0px 0px;display:table;width:260px;font-size:13px;font-family:Arial;color:black"><div style="height:87px;width:90px;background-repeat:no-repeat"><br></div><div style="display:table-cell;vertical-align:middle"><p style="margin-bottom:0px;padding-top:0px;padding-bottom:0px;text-align:center;margin-top:0px"><strong style="color:rgb(17,37,75)">ANDREA SORACCHI</strong><br> <strong><a href="tel:+393290512702" style="text-decoration:none;color:rgb(17,37,75)" target="_blank"><span style="text-decoration:none;padding-top:10px;color:rgb(17,37,75)">+39 329 0512704</span></a></strong><br> <span style="font-size:10px;color:rgb(237,90,35)">System Engineer<br></span></p><p style="margin-bottom:0pt;margin-top:8px;padding-top:0px;text-align:center"><span style="font-size:10px;color:rgb(17,37,75);margin-bottom:0px">+39 0521 24 77 91</span><br> <span style="font-size:10px;color:rgb(17,37,75)"><a href="mailto:soracchi@netbuilder.it" target="_blank">soracchi@netbuilder.it</a></span><br></p></div></div><span></span><br></div></div></div></div></div><span>______________________________<wbr>_________________<br> nginx mailing list<br> <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br> <a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/</a>nginx</span></blockquote><span><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"></blockquote><div dir="auto"><div dir="auto">hi,</div><div dir="auto"><br></div><div dir="auto">can you show the related wireshark data, how long is the response delayed by? and anything else like retransmits or anything else?</div><div dir="auto"><br></div><div dir="auto">any SElinux security throtelling taking place? anything in dmesg?</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br></blockquote></span></div></div><span><div>-- <br></div><div>Payam Tarverdyan Chychi<br>Network Security Specialist / Network Engineer</div><br>______________________________<wbr>_________________<br>nginx mailing list<br><a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br><a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br></span></div></div></div><br>______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br></blockquote></div><br><br clear="all"><div><br></div></div><div class="gmail_extra">-- <br><div class="m_-5001745479659539669m_-6157745851360504815gmail_signature"><div><div><b>Anoop P Alias</b> <div><br></div></div></div></div>
</div>
______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a></blockquote></div></div><div dir="ltr">-- <br></div><div>Payam Tarverdyan Chychi<br>Network Security Specialist / Network Engineer</div>
</div></div><p><span style="color:rgb(0,0,0);font-family:'times new roman';font-size:14.16px">--</span><br style="color:rgb(0,0,0);font-family:'times new roman';font-size:14.16px"><span style="font-family:arial,helvetica,sans-serif">Questo messaggio e' stato analizzato ed e' risultato non infetto.<br>This message was scanned and is believed to be clean.</span></p><span class="">
<br>______________________________<wbr>_________________<br>nginx mailing list<br><a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br><a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a></span></div><br></div></div><br>______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br></blockquote></div><br></div>