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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more