Skip to content

Instantly share code, notes, and snippets.

@ubermuda
Created November 5, 2013 22:13
Show Gist options
  • Save ubermuda/7327264 to your computer and use it in GitHub Desktop.
Save ubermuda/7327264 to your computer and use it in GitHub Desktop.
Proxy a unix socket HTTP server to a tcp port using nginx.
server {
listen 127.0.0.1:9000;
location / {
proxy_pass http://unix:/var/run/docker.sock:/;
}
}
@sam3d
Copy link

sam3d commented Feb 8, 2019

Thank you for this specific example, it's really helpful! 👍

@shiveshsky
Copy link

What if I want to send an ACK how would I achieve that? Can you help me please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment