fix v2ray after change port ss
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
cat /ssh/key.pub > /root/.ssh/authorized_keys
|
||||
service ssh start
|
||||
sed "s/ss:[0-9]\+/ss:$SSPORT/" /nginx_default.conf > change_port
|
||||
cat change_port > /nginx_default.conf
|
||||
sed "s/ss:[0-9]\+/ss:$SSPORT/" /etc/nginx/nginx.conf > change_port
|
||||
cat change_port > /etc/nginx/nginx.conf
|
||||
nginx -g "daemon off;"
|
||||
|
||||
Reference in New Issue
Block a user