ingress-nginx
ingress-nginx copied to clipboard
Enabling of Default Backend access log for location / (404)
Be able to enable access log for the default backend location /. It's super hard to troubleshoot errors 404, when the Host header is "wrong" (i.e: does not match any of the ingress rules)
@cattapan: This issue is currently awaiting triage.
If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@cattapan I think I've been looking for the same feature you're requesting and was successful in enabling the default backend access logs by using the configuration option in https://github.com/kubernetes/ingress-nginx/blob/e6ff97fbbe4efc39ec673a3ecda734a9a0e880b7/internal/ingress/controller/config/config.go#L121