root账号运行

bash <(curl -sL https://raw.githubusercontent.com/daveleung/hijkpw-scripts-mod/main/xray_mod1.sh)

按回车键,将出现如下操作菜单。如果菜单没出现,CentOS系统请输入 yum install -y curl

nginx配置文件在/etc/nginx/nginx.conf

参考文档:https://v2xtls.org/xray一键脚本/