revert changes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
quackerd 2022-12-06 12:19:47 +01:00
parent b379b01f43
commit e9615dfc57
4 changed files with 16 additions and 11 deletions

View File

@ -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

View File

@ -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)

View File

@ -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"
}
}
},

View File

@ -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"
]
}
}
],