Combined log format w/ vhost not picking up 404s? #2633
Unanswered
stautonico
asked this question in
Q&A
Replies: 1 comment
-
This should do it:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I dug through the issues a bit but there are 380 of them and I couldn't quite find what I was looking for.
I'm using the standard nginx combined log format with ONE tweak, I replaced the
remote_addr
withhttp_x_forwarded_for
(because I'm using a reverse proxy which provides the wrong IP.) Before this change, the 404s were picked up correctly. Now, even though my log file has a few 404s, they don't show up. Any suggestions?Valid line for context (ip and routes censored)
404 line that doesn't show up
As far as I can tell, these are identical, not quite sure what went wrong.
Beta Was this translation helpful? Give feedback.
All reactions