From ffff149a275054043147ee843b4e8abf4cd1b75c Mon Sep 17 00:00:00 2001 From: yanglc Date: Tue, 31 Dec 2024 01:35:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20install.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1fc05fa..1296c3c 100644 --- a/install.sh +++ b/install.sh @@ -61,4 +61,14 @@ ExecStop=/bin/sh -c "/bin/kill -s TERM $(/bin/cat /var/run/nginx.pid)" [Install] WantedBy=multi-user.target EOF -systemctl enable nginx --now \ No newline at end of file +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 \ No newline at end of file