mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 13:04:02 +03:00
Update docker image to use Go 1.12
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# BUILD STAGE
|
# BUILD STAGE
|
||||||
|
|
||||||
FROM golang:1.11-alpine
|
FROM golang:1.12-alpine
|
||||||
|
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apk --no-cache --update add \
|
&& apk --no-cache --update add \
|
||||||
|
|||||||
@@ -157,6 +157,11 @@ suspicion that some ISPs start to filter MTPROTO traffic. If they detect
|
|||||||
the IP address which acts as a proxy, they block it and no clients can
|
the IP address which acts as a proxy, they block it and no clients can
|
||||||
use this proxy. This is an attempt to prevent such a situation.
|
use this proxy. This is an attempt to prevent such a situation.
|
||||||
|
|
||||||
|
General rule of thumb: with all new installation of proxies I would
|
||||||
|
advise to go with secure mode by default. But please do remember that it
|
||||||
|
means that clients, which do not pass dd-prefix to their secrets, will
|
||||||
|
not be able to connect. *Secure mode works only with dd-prefixes!*
|
||||||
|
|
||||||
Oneliners to generate such secrets:
|
Oneliners to generate such secrets:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
|
|||||||
Reference in New Issue
Block a user