安装x-ui面板怎么在宝塔中用反向代理的方法
视频教程:https://llcw3oko23.feishu.cn/file/boxcn1taZeMfqWmwJkuFzvND7mc
以我上次买的dedipath家的机器为例:https://tmd.pet/post/24.html
bbrplus 选2,重启后选7:
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
这个更好:
bash <(curl -Lso- https://git.io/kernel.sh)
OVZ需要打开TUN/TAP然后:
wget https://raw.githubusercontent.com/kuoruan/shell-scripts/master/ovz-bbr/ovz-bbr-installer.sh && chmod +x ovz-bbr-installer.sh && ./ovz-bbr-installer.sh
端口443
这个更好:
wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0-nocheckvirt/tcp_nanqinlang-rinetd-centos-nocheckvirt.sh && bash tcp_nanqinlang-rinetd-centos-nocheckvirt.sh
反向代理:
#PROXY-START/mulu
location /mulu {
proxy_redirect off;
proxy_pass http://127.0.0.1:12345;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
proxy_read_timeout 300s;
# Show realip in v2ray access.log
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
#PROXY-END/
下边这个用不到
bash <(curl -s -L https://git.io/v2ray.sh)#一键安装脚本
END.
本站资源均来源于互联网,仅限于学习研究,严禁从事商业或者非法活动!