title: Nginx close keep-alive connection from php
body: <p><strong>Hello Everybody</strong> </p>
  
  <p>I have trouble with nginx server . I have configured nginx with keep alive connection.</p>
  
  <p>keepalive_timeout  65;</p>
  
  <p>And connect to server with persistent connection , i send many request to server in same connection .    </p>
  
  <p>I want to close persistent connection from php.
  php exit and die command closes response , not connection . And client can resend to server request in same connection . </p>
  
  <p>simply, i want to close persistent connection from php </p>
  
  <p>I use this command , </p>
  
  <p>header('Connection:close');</p>
  
  <p>But not affected , connection is still alive </p>
  
  <p>How can close http connection from php</p>