This commit is contained in:
parent
b379b01f43
commit
e9615dfc57
@ -1,6 +1,6 @@
|
||||
FROM alpine:latest
|
||||
|
||||
ENV VER_XRAY 1.6.1
|
||||
ENV VER_XRAY 1.6.5
|
||||
ENV VER_SO 2.5.20
|
||||
ENV VER_NG 1.7.23
|
||||
|
||||
|
@ -116,7 +116,7 @@ for u in users:
|
||||
jinja_dict["USER"] = u[0]
|
||||
jinja_dict["FLOW"] = u[1]
|
||||
process_directory(user_dir, jinja_dict)
|
||||
subprocess.check_call(f"ln -s /downloads/others {user_dir}/others/downloads", shell=True)
|
||||
subprocess.check_call(f"ln -s /downloads/android {user_dir}/android/downloads", shell=True)
|
||||
subprocess.check_call(f"ln -sf /downloads/others {user_dir}/others/downloads", shell=True)
|
||||
subprocess.check_call(f"ln -sf /downloads/android {user_dir}/android/downloads", shell=True)
|
||||
|
||||
exit(0)
|
@ -70,8 +70,7 @@
|
||||
"destOverride": ["http", "tls"]
|
||||
},
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": false
|
||||
"udp": true
|
||||
}
|
||||
}
|
||||
],
|
||||
@ -97,11 +96,11 @@
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp",
|
||||
"security": "xtls",
|
||||
"xtlsSettings": {
|
||||
"security": "tls",
|
||||
"tlsSettings": {
|
||||
"serverName": "{{ FQDN }}",
|
||||
"allowInsecure": false,
|
||||
"alpn": ["h2","http/1.1"]
|
||||
"fingerprint": "firefox"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -21,9 +21,8 @@
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp",
|
||||
"security": "xtls",
|
||||
"xtlsSettings": {
|
||||
"alpn": ["http/1.1", "h2"],
|
||||
"security": "tls",
|
||||
"tlsSettings": {
|
||||
"certificates": [
|
||||
{
|
||||
"certificateFile": "/etc/letsencrypt/live/{{ FQDN }}/fullchain.pem",
|
||||
@ -31,6 +30,13 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user