Open leonerd opened 2 years ago
You may want to look at other PSGI servers, such as Starlet:
❯ plackup -s Starlet --listen unix.sock -e 'sub { [200, [], ["ok"]] }'
Plack::Handler::Starlet: Accepting connections at http://0:unix.sock/
Also while there, don't forget to additionally account for chmod
, the same issue as https://github.com/miyagawa/Starman/issues/145
When running a FastCGI responder, we can simply
to have it listen on a UNIX socket. The same is not true for the HTTP version:
This then ends up binding to TCP port 8080, and not the UNIX path.
It'd be great to be able to support UNIX-hosted HTTP responders on fixed paths.