This commit is contained in:
parent
d6b0b2e379
commit
313b53f19a
@ -58,4 +58,5 @@ htpasswd -b ./.htpasswd zhoubowen zhoubowen
|
||||
htpasswd -b ./.htpasswd gaoyuchen gaoyuchen
|
||||
htpasswd -b ./.htpasswd quackerd quackerd
|
||||
htpasswd -b ./.htpasswd yushengde yushengde
|
||||
htpasswd -b ./.htpasswd ivansun ivansun
|
||||
encrypt_file ./.htpasswd "$(cat ./key)" image/htpasswd
|
||||
|
46
confs/ivan.quacker.net
Normal file
46
confs/ivan.quacker.net
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
"log": {
|
||||
"loglevel": "warn",
|
||||
"access": "/opt/config/logs/xray/access.log",
|
||||
"error": "/opt/config/logs/xray/error.log"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 443,
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "ivansun",
|
||||
"flow": "xtls-rprx-direct"
|
||||
}
|
||||
],
|
||||
"decryption": "none",
|
||||
"fallbacks": [
|
||||
{
|
||||
"dest": "localhost:80"
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp",
|
||||
"security": "xtls",
|
||||
"xtlsSettings": {
|
||||
"alpn": ["http/1.1", "h2"],
|
||||
"certificates": [
|
||||
{
|
||||
"certificateFile": "/etc/letsencrypt/live/nocturne.quacker.net/fullchain.pem",
|
||||
"keyFile": "/etc/letsencrypt/live/nocturne.quacker.net/privkey.pem"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user