mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
Update README.md
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user