How to enable debug logs for nginx bitnami image in kubernetes

8/29/2020

I’m using bitnami nginx image on my kubernetes cluster. I want to see the debug logs of nginx. Does someone know how to enable debug logs in helm chart? Reference : https://bitnami.com/stack/nginx/helm

-- Dipti
bitnami
kubernetes
kubernetes-helm
nginx-config
nginx-reverse-proxy

1 Answer

8/29/2020

There is no configuration available in bitnami helm chart using that you can start debug logs for nginx.

Nothing in values.yaml. so just changing configuration via --set and debug log won't start.

But you can set Nginx configuration and save logs in a file inside folder and access it.

-- Harsh Manvar
Source: StackOverflow