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

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay