I have a simple Rails application running in a Dokku instance. I have my own domain pointing to it, but I also found there is a rogue domain pointing to my server. The rogue domain gets also served by my Dokku based application.
Guestion: How can I prevent Dokku from serving other than the domain I have specified?
I guess I could have something like server { return 404 }
in nginx.conf file, but I'm not sure how Dokku plays with these nginx configurations..