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

Lucien Boix - Jan 26 '22 - - Dev Community

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

. . . . . . . . . . . . . . . .
Terabox Video Player