Custom Query (2297 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (76 - 78 of 2297)

Ticket Resolution Summary Owner Reporter
#550 wontfix Add method to remove or change deafult headers. Kevin Cox
Description

By default nginx responds with a number of headers, for example I have a response listed below. These are a good set of defaults because they work properly with a large range of clients. However a number of these headers are unnecessary for conforming HTTP 1.1 clients and it would be nice to be able to remove them.

Example Response:

HTTP/1.1 200 OK Server: nginx/1.4.7 Date: Mon, 28 Apr 2014 19:07:11 GMT Content-Type: text/html Content-Length: 2820 Last-Modified: Wed, 23 Apr 2014 20:22:58 GMT Connection: keep-alive ETag: "53582122-b04" Accept-Ranges: bytes

For example 'Connection: keep-alive' is not a standard header and it assumed for HTTP 1.1 servers. 'Accept-Ranges: bytes' is unnecessary and some people consider sending a 'Server' bad practice because it can attract automated attacks for known vulnerabilities.

The http_headers_more module can modify and remove some headers but some are always set by the server. It would be nice to have a solution that can modify *any* header.

#292 fixed Add mime application/font-woff for `woff` fonts Sergey Kandaurov Alexander Sandström
Description

Woff has been assigned a mime-type, see links below for details. Would be nice to have this among the nginx default mime types.

It would be the following entry in the mime.types file:

application/font-woff woff;

Links to authoritative mime resources: http://www.iana.org/assignments/media-types/application/font-woff http://www.w3.org/TR/WOFF/#appendix-b

#42 fixed Add mime.type for .m4v files somebody www.google.com/accounts/o8/id?id=AItOawledtwJVR8tIu1Dq-KLW1tTypIFgPHaf4o
Description

.m4v files are Apple's version of MPEG4 and according to http://en.wikipedia.org/wiki/M4V their mime.type is video/x-m4v

They can be used with Flash-based players and lack of proper Content-type header creates issues in (at least) Firefox.

Attached is the trivial patch.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.