When you are using the (nginx) ingress resource in kubernetes, you may want to view the actual configuration it is running, even though you are fairly abstracted from it. It can be very useful for debugging complex issues.
You can run these two lines to get the config file into a local nginx.conf file for inspection when you need to:
POD=$(kubectl get pods -n kube-system | grep ingress | awk '{print $1}') kubectl exec -it -n kube-system ${POD} cat /etc/nginx/nginx.conf > nginx.conf