Advertisement
Guest User

Untitled

a guest
Dec 11th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.33 KB | None | 0 0
  1. user root;
  2.  
  3. events {
  4.     worker_connections  8;
  5. }
  6.  
  7.  
  8. http {
  9.     server {
  10.         listen 9000;
  11.         location /containers/json {
  12.             proxy_pass http://unix:/host/var/run/docker.sock;
  13.         }
  14.         location ~ \/containers\/\w+\/json {
  15.             proxy_pass http://unix:/host/var/run/docker.sock;
  16.         }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement