Re:Certificates for localhost
by inopinatus on Wednesday June 20, 2018 @07:42PM
(#17360911)
There 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
But that doesn't specify protocal then, does it?
I.e., http://unix:/path would be very not backwards compatible
i.e.,
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.