File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,9 @@ rm -f /etc/nginx/conf.d/vps.conf
104104
105105# Download custom configs
106106wget -q -O /etc/nginx/nginx.conf " https://raw.githubusercontent.com/givps/AutoScriptXray/master/ssh/nginx.conf"
107- # wget -q -O /etc/nginx/conf.d/vps.conf "https://raw.githubusercontent.com/givps/AutoScriptXray/master/ssh/vps.conf"
107+ mkdir -p /home/vps/public_html
108+ chown -R www-data:www-data /home/vps/public_html
109+ wget -q -O /etc/nginx/conf.d/vps.conf " https://raw.githubusercontent.com/givps/AutoScriptXray/master/ssh/vps.conf"
108110
109111# Add systemd override (fix for early startup)
110112mkdir -p /etc/systemd/system/nginx.service.d
@@ -117,9 +119,6 @@ systemctl start nginx
117119
118120# Setup web root directory
119121wget -q -O /usr/share/nginx/html/index.html " https://raw.githubusercontent.com/givps/AutoScriptXray/master/ssh/index"
120- mkdir -p /home/vps/public_html
121- # Set ownership
122- chown -R www-data:www-data /home/vps/public_html
123122
124123# install badvpn
125124wget -qO- https://raw.githubusercontent.com/givps/AutoScriptXray/master/ssh/install-udpgw.sh | bash
You can’t perform that action at this time.
0 commit comments