add ivan
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
quackerd 2022-03-26 14:04:43 +08:00
parent d6b0b2e379
commit 313b53f19a
2 changed files with 47 additions and 0 deletions

View File

@ -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
View 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": {}
}
]
}