1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 09:41:20 +00:00

Update README.md

This commit is contained in:
Kev++ 2015-05-27 20:02:23 +08:00
parent bd998a02d2
commit b64f1402c4

@ -14,7 +14,7 @@ In the following example, I will setup a server/client pair to connect www.googl
## Create a docker-compose.yml ## Create a docker-compose.yml
``` ```yaml
server: server:
image: vimagick/fteproxy image: vimagick/fteproxy
ports: ports:
@ -47,7 +47,7 @@ client:
## Run fteproxy server/client ## Run fteproxy server/client
``` ```bash
$ docker-compose up -d $ docker-compose up -d
Creating fteproxy_server_1... Creating fteproxy_server_1...
Creating fteproxy_client_1... Creating fteproxy_client_1...
@ -61,7 +61,7 @@ fteproxy_server_1 /bin/sh -c /fteproxy/ftepr ... Up 0.0.0.0:32768->80/t
## Test with curl ## Test with curl
``` ```html
$ curl http://localhost:9009/ $ curl http://localhost:9009/
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"> <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY> <TITLE>302 Moved</TITLE></HEAD><BODY>