This commit is contained in:
parent
b379b01f43
commit
e9615dfc57
@ -1,6 +1,6 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
ENV VER_XRAY 1.6.1
|
ENV VER_XRAY 1.6.5
|
||||||
ENV VER_SO 2.5.20
|
ENV VER_SO 2.5.20
|
||||||
ENV VER_NG 1.7.23
|
ENV VER_NG 1.7.23
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ for u in users:
|
|||||||
jinja_dict["USER"] = u[0]
|
jinja_dict["USER"] = u[0]
|
||||||
jinja_dict["FLOW"] = u[1]
|
jinja_dict["FLOW"] = u[1]
|
||||||
process_directory(user_dir, jinja_dict)
|
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 -sf /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/android {user_dir}/android/downloads", shell=True)
|
||||||
|
|
||||||
exit(0)
|
exit(0)
|
@ -70,8 +70,7 @@
|
|||||||
"destOverride": ["http", "tls"]
|
"destOverride": ["http", "tls"]
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"auth": "noauth",
|
"udp": true
|
||||||
"udp": false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -97,11 +96,11 @@
|
|||||||
},
|
},
|
||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "tcp",
|
"network": "tcp",
|
||||||
"security": "xtls",
|
"security": "tls",
|
||||||
"xtlsSettings": {
|
"tlsSettings": {
|
||||||
"serverName": "{{ FQDN }}",
|
"serverName": "{{ FQDN }}",
|
||||||
"allowInsecure": false,
|
"allowInsecure": false,
|
||||||
"alpn": ["h2","http/1.1"]
|
"fingerprint": "firefox"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -21,9 +21,8 @@
|
|||||||
},
|
},
|
||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "tcp",
|
"network": "tcp",
|
||||||
"security": "xtls",
|
"security": "tls",
|
||||||
"xtlsSettings": {
|
"tlsSettings": {
|
||||||
"alpn": ["http/1.1", "h2"],
|
|
||||||
"certificates": [
|
"certificates": [
|
||||||
{
|
{
|
||||||
"certificateFile": "/etc/letsencrypt/live/{{ FQDN }}/fullchain.pem",
|
"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