3 ms·
It would be neat if you could listen to a unix domain socket and have a simple way to specify that as an endpoint for an http URI. i.e., http://[uds/path/to/u
by eximius 8y ago
It would be neat if you could listen to a unix domain socket and have a simple way to specify that as an endpoint for an http URI.
i.e.,
http://[uds/path/to/uds.socket] http://[uds/path/to/uds.socket]
I reuse ipv6's current syntax here just for the example. A lot of bikeshedding would be needed. It would also be ugly to expose those kinds of internals to an end user, so you'd need some additional technology on top of this to look pretty.
- inopinatus 8y agoThere is an unofficial unix: URI scheme. Browsers don't support it but system clients sometimes do, for example nginx when configuring upstream groups as a reverse proxy[1]. [1] http://nginx.org/en/docs/http/ngx_http_upstream_module.html http://nginx.org/en/docs/http/ngx_http_upstream_module.html