Welcome! Log In Create A New Profile

Advanced

http keepalive connection not being set / or sent as a header

Posted by meet.mrnrg 
http keepalive connection not being set / or sent as a header
August 22, 2012 07:35PM
On new nginx/1.2.3 install the

http keepalive connection not being set / or sent as a header.

Normally a keep-alive http header would look like this. "Keep-Alive: timeout=2, max=100"

What would be the reason for it not being sent? Or is it being replaced by some other setting??

See bellow

HTTP/1.1 200 OK
Server: nginx/1.2.3
Date: Wed, 22 Aug 2012 23:31:08 GMT
Content-Type: text/html
Last-Modified: Tue, 21 Aug 2012 14:02:42 GMT
Transfer-Encoding: chunked
Connection: close
Expires: Wed, 29 Aug 2012 23:31:08 GMT
Cache-Control: max-age=604800, public
Pragma: public
Content-Encoding: gzip

The configuration is as follows.

location / {
root /local/site/public_html;
index index.html index.jsp;
keepalive_requests 100;
keepalive_timeout 75;
add_header Pragma "public";
add_header Cache-Control "public";
expires 7d;
}



Edited 1 time(s). Last edit at 08/22/2012 07:37PM by meet.mrnrg.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 262
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready