默认配置下 nginx ingress controller 会记录所有访问请求,通过下面的命令可以看到:
kubectl logs -l app=nginx-ingress -n nginx-ingress
请问如何修改 nginx 的访问日志级别?
相关问题
- How can I prevent my Shiny App from disconnecting
- Can't configure nginx as a proxy for tomcat wi
- How to set Nginx URI to fix empty URI in redirect
- why does connect domain to “Shopify” ask for eithe
- Nginx with Daphne gives 502 Bad Gateway
不管用的是 kubernetes/ingress-nginx 还是 nginxinc/kubernetes-ingress ,都可以通过在 ConfigMap 中添加 error-log-level 配置解决。