소스 검색

Merge pull request #26 from frank-dspeed/patch-1

Updated Readme Syntax
Jason Wilder 10 년 전
부모
커밋
6024b7bdf3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -6,11 +6,11 @@ See [Automated Nginx Reverse Proxy for Docker][2] for why you might want to use
 
 To run it:
 
-    $ docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock -t jwilder/nginx-proxy
+    $ docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock jwilder/nginx-proxy
 
 Then start any containers you want proxied with an env var VIRTUAL_HOST=subdomain.youdomain.com
 
-    $ docker run -e VIRTUAL_HOST=foo.bar.com -t ...
+    $ docker run -e VIRTUAL_HOST=foo.bar.com  ...
 
 Provided your DNS is setup to forward foo.bar.com to the a host running nginx-proxy, the request will be routed to a container with the VIRTUAL_HOST env var set.