How to hide selfhosted app search dashboard - production

Noob alert. :panda_face:

My app search installation is lying on foo.bar.com- making reqs from client-side, how can I hide the app search dashboard from the public.

I have proxy passed foo.bar.com using Nginx

Hey anyone?

Is it because there is no login to the dashboard?
If that's the case, then you probably haven't enabled X-Pack Security. Read more here.