Closed marcandrews closed 4 years ago
My concern is for sites that are using the hostname
config items for building urls, without the intention of limiting their server to only listening to a specific hostname.
We should update this to have a flag that can be turned on to tell it to use the hostname for the listen call.
My VPS has two IPs, and when I start my MEAN app, the server listens on both IPs. This way, the MEAN app takes into consideration the hostname specified in the env config file when starting the server.