return proxy_protocol without singbox
This commit is contained in:
+5
-5
@@ -1,8 +1,8 @@
|
||||
cat /ssh/key.pub > /root/.ssh/authorized_keys
|
||||
ssh-keygen -A
|
||||
exec /usr/sbin/sshd -D -e "$@" &
|
||||
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;"
|
||||
sed "s/ss:[0-9]\+/ss:$SSPORT/" /config/nginx_default.conf > change_port
|
||||
cat change_port > /config/nginx_default.conf
|
||||
sed "s/ss:[0-9]\+/ss:$SSPORT/" /config/nginx.conf > change_port
|
||||
cat change_port > /config/nginx.conf
|
||||
nginx -g "daemon off;" -c /config/nginx.conf
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cat /ssh/key.pub > /root/.ssh/authorized_keys
|
||||
ssh-keygen -A
|
||||
exec /usr/sbin/sshd -D -e "$@" &
|
||||
nginx -g "daemon off;"
|
||||
nginx -g "daemon off;" -c /config/upstream.conf
|
||||
|
||||
Reference in New Issue
Block a user