Update 'Extra_Domains/NGINX_Domain.sh'
This commit is contained in:
@@ -144,7 +144,6 @@ if [ $wordpress = 1 ]; then
|
|||||||
tar xzvf /tmp/wp.tar.gz -C /tmp
|
tar xzvf /tmp/wp.tar.gz -C /tmp
|
||||||
mv /tmp/wordpress/wp-config-sample.php /tmp/wordpress/wp-config.php
|
mv /tmp/wordpress/wp-config-sample.php /tmp/wordpress/wp-config.php
|
||||||
cp -a /tmp/wordpress/. /var/www/"$domain"/html
|
cp -a /tmp/wordpress/. /var/www/"$domain"/html
|
||||||
chown -R www-data:www-data /var/www/"$domain"/html
|
|
||||||
WPSalts=$(wget https://api.wordpress.org/secret-key/1.1/salt/ -q -O -)
|
WPSalts=$(wget https://api.wordpress.org/secret-key/1.1/salt/ -q -O -)
|
||||||
cat <<EOF > /var/www/"$domain"/html/wp-config.php
|
cat <<EOF > /var/www/"$domain"/html/wp-config.php
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user