DEV Community

Lucien Boix
Lucien Boix

Posted on

How-to extract nginx.conf of a nginx-ingress-controller pod ?

It can be useful sometimes to take a look at the final .conf file generated after having combined all Ingress rules, this command can help you copy that file locally :

kubectl cp YOURPOD-nginx-ingress-controller-UUID:nginx.conf ~/Downloads/my-nginx.conf

Discussion (0)