Replaced wget in favor of curl
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
## nginx-conf.sh
|
||||
```
|
||||
#Getting Nginx SiteConfig
|
||||
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/<CMSName>/Nginx-unconfigured -O /tmp/nginx-siteconf
|
||||
curl --retry 7 --retry-delay 5 -s "$repo"/raw/branch/"$branch"/CMS/<CMSName>/Nginx-unconfigured -o /tmp/nginx-siteconf
|
||||
|
||||
#Configuring Nginx SiteConfig
|
||||
sed -i -e 's/PHPver/'$phpver'/g' -e 's/DOMAINname/'$domain'/' /tmp/nginx-siteconf
|
||||
@@ -51,7 +51,7 @@ systemctl reload nginx
|
||||
|
||||
```
|
||||
#Getting Nginx SiteConfig
|
||||
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/<CMSName>/Nginx-unconfigured -O /tmp/nginx-siteconf
|
||||
curl --retry 7 --retry-delay 5 -s "$repo"/raw/branch/"$branch"/CMS/<CMSName>/Nginx-unconfigured -o /tmp/nginx-siteconf
|
||||
|
||||
#Configuring Nginx SiteConfig
|
||||
sed -i -e 's/PHPver/'$phpver'/g' -e 's/DOMAINname/'$domain'/' /tmp/nginx-siteconf
|
||||
|
||||
Reference in New Issue
Block a user