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 @@ -43,7 +43,9 @@ rm -f /etc/nginx/conf.d/vps.conf
4343
4444# Download custom configs
4545wget -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)
4951mkdir -p /etc/systemd/system/nginx.service.d
@@ -57,9 +59,6 @@ systemctl enable nginx
5759# Setup web root directory
5860wget -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
6463wget -qO- https://raw.githubusercontent.com/givps/AutoScriptXray/master/ssh/install-udpgw.sh | bash
6564
You can’t perform that action at this time.
0 commit comments