sonatype / nexus-public

Sonatype Nexus Repository Open-source codebase mirror
https://www.sonatype.com/products/repository-oss-download
Eclipse Public License 1.0
1.83k stars 556 forks source link

Unix domain socket support #404

Open eirnym opened 3 weeks ago

eirnym commented 3 weeks ago

I use nginx as a reverse proxy on my servers and want to use unix domain sockets as they faster and take less resources than TCP sockets. Also this way it's easier to manage domains in nginx as I don't need to edit nginx configuration to support one more domain.

Nexus OSS is using jetty as an underlying technology to provide HTTP connections and it supports unix domain sockets.

I've tried to inject jetty-unixsocket library in same places as jetty-server is defined, but I still have java.lang.ClassNotFoundException no matter what I do. Any suggestions would be welcome

nblair commented 3 weeks ago

Thanks @eirnym for opening an issue. We currently don't have support to extend Jetty in that way, so I've labeled this as an enhancement request. We'll keep it open to gauge demand.