Kubernetes dashboard config basehref

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: 1.14
Cloud being used: (put bare-metal if not on a public cloud)
Installation method: k8s deployment
Host OS: Linux
CNI and version:
CRI and version:

How can I config a basehref for kubernetes dashboard to let Nginx handle dashboard request from external network. For example k8s dashboard is exposed with nodePort 31117 in k8s cluster. I want to access k8s dashboard from external network with https://ip/dashboard. How do I config dashboard yaml to handle this?

You don’t need to config your dashboard. I thinks you can use

kubectl proxy

And you can use like this from browser