Using virtual hosts without appending the port number
Hey everyone, I recently found this amazing little software, and it's one of the bests in its own way. but there is something that I don't understand and that is when I'm trying to use the virtual hosts with Nginx it doesn't work without appending the port number (8080) to the end of the URL which is kinda odd because if that's how it works then what's the point of the virtual host? What're its advantages over just pointing the URL to the corresponding directory? or is there something that I need to do for it to work without the use of the port number?
Thanks in advance.