32 lines
621 B
YAML
32 lines
621 B
YAML
# Сгенерировано init.sh из config.template.yaml и .env — правь их, а не этот файл.
|
||
listen: :${HY_PORT}
|
||
|
||
tls:
|
||
cert: /certs/server.crt
|
||
key: /certs/server.key
|
||
|
||
auth:
|
||
type: password
|
||
password: "${HY_AUTH_PASSWORD}"
|
||
|
||
obfs:
|
||
type: salamander
|
||
salamander:
|
||
password: "${HY_OBFS_PASSWORD}"
|
||
|
||
masquerade:
|
||
type: proxy
|
||
proxy:
|
||
url: ${HY_MASQUERADE_URL}
|
||
rewriteHost: true
|
||
|
||
quic:
|
||
initStreamReceiveWindow: 8388608
|
||
maxStreamReceiveWindow: 8388608
|
||
initConnReceiveWindow: 20971520
|
||
maxConnReceiveWindow: 20971520
|
||
|
||
bandwidth:
|
||
up: ${HY_SERVER_UP}
|
||
down: ${HY_SERVER_DOWN}
|