Преглед изворни кода

Merge pull request #271 from Dank-del/patch-1

tags/v2.1.7^2
Sergey Arkhipov пре 3 година
родитељ
комит
79f921fde9
No account linked to committer's email address
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      README.md

+ 2
- 2
README.md Прегледај датотеку

190
 Also, if you have `go` installed, you can always download this tool with `go get`:
190
 Also, if you have `go` installed, you can always download this tool with `go get`:
191
 
191
 
192
 ```console
192
 ```console
193
-go get github.com/9seconds/mtg/v2
193
+go install github.com/9seconds/mtg/v2@latest
194
 ```
194
 ```
195
 
195
 
196
 #### Build from sources
196
 #### Build from sources
338
 or you can run a docker image
338
 or you can run a docker image
339
 
339
 
340
 ```console
340
 ```console
341
-docker run -d -v /etc/mtg.toml:/config.toml -p 443:3128 --name mtg-proxy --restart=unless-stopped nineseconds/mtg:2
341
+docker run -d -v $PWD/config.toml:config.toml -p 443:3128 --name mtg-proxy --restart=unless-stopped nineseconds/mtg:2
342
 ```
342
 ```
343
 
343
 
344
 where _443_ is a host port (a port you want to connect to from a
344
 where _443_ is a host port (a port you want to connect to from a

Loading…
Откажи
Сачувај