mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-27 09:18:43 +00:00
add key
This commit is contained in:
parent
76c0c40451
commit
f7ded21f69
@ -21,6 +21,7 @@ server:
|
|||||||
- "SERVER_PORT=80"
|
- "SERVER_PORT=80"
|
||||||
- "PROXY_IP=www.google.com"
|
- "PROXY_IP=www.google.com"
|
||||||
- "PROXY_PORT=80"
|
- "PROXY_PORT=80"
|
||||||
|
- "KEY=CB2FBA2BC70490526E749E01BB050F6B555964290DFF58CF24785B4A093F7B18"
|
||||||
|
|
||||||
client:
|
client:
|
||||||
image: vimagick/fteproxy
|
image: vimagick/fteproxy
|
||||||
@ -34,8 +35,12 @@ client:
|
|||||||
- "SERVER_PORT=80"
|
- "SERVER_PORT=80"
|
||||||
- "CLIENT_IP=0.0.0.0"
|
- "CLIENT_IP=0.0.0.0"
|
||||||
- "CLIENT_PORT=80"
|
- "CLIENT_PORT=80"
|
||||||
|
- "KEY=CB2FBA2BC70490526E749E01BB050F6B555964290DFF58CF24785B4A093F7B18"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> To generate random key:
|
||||||
|
> `xxd -u -p -c32 /dev/urandom | head -n1`
|
||||||
|
|
||||||
## Run fteproxy server/client
|
## Run fteproxy server/client
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user