How to see the content-type of a response in Nginx log file
Posted
by
MLister
on Server Fault
See other posts from Server Fault
or by MLister
Published on 2012-11-23T15:25:24Z
Indexed on
2012/11/23
17:08 UTC
Read the original article
Hit count: 166
Is it possible to see the content-type
of a response to a request in Nginx
's log file? At the moment, this is what I see for the request in question:
127.0.0.1 - - [23/Nov/2012:10:17:19 -0500] "GET /fonts/cantarell-bold-webfont.eot? HTTP/1.1" 200 22679 "https://www.mysite.com/blah/doc" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET4.0C)"
If this is not feasible using Nginx
's log, what are the other options? Thanks.
© Server Fault or respective owner