-
-
Save DarkSuniuM/3d18a8e8c309e7b4e2ebed4cd1d82b53 to your computer and use it in GitHub Desktop.
Proxy a unix socket HTTP server to a tcp port using nginx.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 127.0.0.1:9000; | |
location / { | |
proxy_pass http://unix:/var/run/docker.sock:/; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment