Skip to content

Commit 936a03c

Browse files
authored
Update tool.sh
1 parent ebe5d11 commit 936a03c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

haproxy/setup/tool.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ rm -f /etc/nginx/conf.d/vps.conf
4343

4444
# Download custom configs
4545
wget -q -O /etc/nginx/nginx.conf "https://raw.githubusercontent.com/givps/AutoScriptXray/master/ssh/nginx.conf"
46-
# wget -q -O /etc/nginx/conf.d/vps.conf "https://raw.githubusercontent.com/givps/AutoScriptXray/master/ssh/vps.conf"
46+
mkdir -p /home/vps/public_html
47+
chown -R www-data:www-data /home/vps/public_html
48+
wget -q -O /etc/nginx/conf.d/vps.conf "https://raw.githubusercontent.com/givps/AutoScriptXray/master/ssh/vps.conf"
4749

4850
# Add systemd override (fix for early startup)
4951
mkdir -p /etc/systemd/system/nginx.service.d
@@ -57,9 +59,6 @@ systemctl enable nginx
5759
# Setup web root directory
5860
wget -q -O /usr/share/nginx/html/index.html "https://raw.githubusercontent.com/givps/AutoScriptXray/master/ssh/index"
5961

60-
# Set ownership
61-
# chown -R www-data:www-data /home/vps/public_html
62-
6362
# install badvpn
6463
wget -qO- https://raw.githubusercontent.com/givps/AutoScriptXray/master/ssh/install-udpgw.sh | bash
6564

0 commit comments

Comments
 (0)