4 ms·
There are some benefits in using an alias instead. First, it is easier and shorter to type and remember, as the path to the socket can be long. Second, multipl
by rodarima 2y ago
There are some benefits in using an alias instead.
First, it is easier and shorter to type and remember, as the path to the socket can be long. Second, multiple users may run a given service in a socket located at different paths. And third, using a host name can be used to create virtual hosts, so you can serve different responses to foo.unix and bar.unix while both point to the same server UNIX socket.
If you see a problem with using a host file, could to provide an example of how it could go wrong?
- niutech 2y ago*.unix TLD could be sold in the future. Why not use *.local if you insist on a domain name? However I'd prefer a different protocol, like http+unix://