mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 16:14:02 +03:00
Fix instructions in readme
This commit is contained in:
@@ -190,7 +190,7 @@ surprises. Always choose some version tag.
|
|||||||
Also, if you have `go` installed, you can always download this tool with `go get`:
|
Also, if you have `go` installed, you can always download this tool with `go get`:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
go get github.com/9seconds/mtg/v2
|
go install github.com/9seconds/mtg/v2@latest
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Build from sources
|
#### Build from sources
|
||||||
@@ -338,7 +338,7 @@ $ sudo systemctl start mtg
|
|||||||
or you can run a docker image
|
or you can run a docker image
|
||||||
|
|
||||||
```console
|
```console
|
||||||
docker run -d -v /etc/mtg.toml:/config.toml -p 443:3128 --name mtg-proxy --restart=unless-stopped nineseconds/mtg:2
|
docker run -d -v /etc/mtg.toml:$PWD/config.toml -p 443:3128 --name mtg-proxy --restart=unless-stopped nineseconds/mtg:2
|
||||||
```
|
```
|
||||||
|
|
||||||
where _443_ is a host port (a port you want to connect to from a
|
where _443_ is a host port (a port you want to connect to from a
|
||||||
|
|||||||
Reference in New Issue
Block a user