Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user root;
- events {
- worker_connections 8;
- }
- http {
- server {
- listen 9000;
- location /containers/json {
- proxy_pass http://unix:/host/var/run/docker.sock;
- }
- location ~ \/containers\/\w+\/json {
- proxy_pass http://unix:/host/var/run/docker.sock;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement