Bug 55898 - [RFE] listen on unix socket?
Summary: [RFE] listen on unix socket?
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: All (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 17:32 UTC by Hans Henrik
Modified: 2021-05-03 16:33 UTC (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Henrik 2013-12-17 17:32:43 UTC
would be nice to have support for listening to unix sockets instead of tpc ports (reasons include, not having to dedicate a tcp port, performance, filesystem based access control~)

syntax could something like this
  Listen unix:/tmp/nginx1.sock;

(which is how nginx does it)

i realize its not a much needed feature (else it'd be implemented already right?), but i need something like this right now, and Nginx has supported this for years (since 2009)
Comment 1 Bill McGonigle 2017-10-31 03:27:47 UTC
Tor recommends a unix socket configuration along with systemd's privatenetwork feature for high security:  
https://riseup.net/en/security/network-security/tor/onionservices-best-practices#be-careful-of-localhost-bypasses