更新 install.sh
parent
6999500b1d
commit
ffff149a27
10
install.sh
10
install.sh
|
@ -62,3 +62,13 @@ ExecStop=/bin/sh -c "/bin/kill -s TERM $(/bin/cat /var/run/nginx.pid)"
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
systemctl enable nginx --now
|
systemctl enable nginx --now
|
||||||
|
mkdir /etc/nginx/tunnelconf
|
||||||
|
cat << 'EOF' | tee /etc/nginx/tunnelconf/demo.conf > /dev/null
|
||||||
|
#server {
|
||||||
|
# listen listen_ip:listen_port;
|
||||||
|
# tcp_nodelay on;
|
||||||
|
# proxy_pass remote_ip:remote_port;
|
||||||
|
# proxy_protocol off;
|
||||||
|
# access_log off;
|
||||||
|
#}
|
||||||
|
EOF
|
Loading…
Reference in New Issue