|
@ -570,7 +570,7 @@ PERMISSIONANDGIT() |
|
|
|
|
|
|
|
|
# Take Nginx Configuration In Git Version Control |
|
|
# Take Nginx Configuration In Git Version Control |
|
|
EEGITDIR=/etc/nginx |
|
|
EEGITDIR=/etc/nginx |
|
|
EEGITMESSAGE="Created New $3 $4 Website: $DOMAIN" |
|
|
EEGITMESSAGE="Created New $WPNETWORKSITE $WPCACHEOPTION Website: $DOMAIN" |
|
|
EEGITCOMMIT |
|
|
EEGITCOMMIT |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -1178,9 +1178,11 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/basic.conf |
|
|
NGINXCONF=$3/basic.conf |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup Basic Nginx |
|
|
# Setup Basic Nginx |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
@ -1194,9 +1196,11 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/w3tc.conf |
|
|
NGINXCONF=$3/w3tc.conf |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup W3 Total Cahe Nginx |
|
|
# Setup W3 Total Cahe Nginx |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
@ -1217,9 +1221,11 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/wpsc.conf |
|
|
NGINXCONF=$3/wpsc.conf |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup WP Super Cahe Nginx |
|
|
# Setup WP Super Cahe Nginx |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
@ -1240,9 +1246,11 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/wpfc.conf |
|
|
NGINXCONF=$3/wpfc.conf |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup Fastcgi Cahe Nginx |
|
|
# Setup Fastcgi Cahe Nginx |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
@ -1270,9 +1278,11 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/basic.conf |
|
|
NGINXCONF=$3/basic.conf |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup Domain WordPress & Database |
|
|
# Setup Domain WordPress & Database |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
@ -1292,10 +1302,12 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/w3tc.conf |
|
|
NGINXCONF=$3/w3tc.conf |
|
|
NETWORKACTIVATE="--network" |
|
|
NETWORKACTIVATE="--network" |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup Domain WordPress & Database |
|
|
# Setup Domain WordPress & Database |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
@ -1322,10 +1334,12 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/wpsc.conf |
|
|
NGINXCONF=$3/wpsc.conf |
|
|
NETWORKACTIVATE="--network" |
|
|
NETWORKACTIVATE="--network" |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup Domain WordPress & Database |
|
|
# Setup Domain WordPress & Database |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
@ -1352,10 +1366,12 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/wpfc.conf |
|
|
NGINXCONF=$3/wpfc.conf |
|
|
NETWORKACTIVATE="--network" |
|
|
NETWORKACTIVATE="--network" |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup Domain WordPress & Database |
|
|
# Setup Domain WordPress & Database |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
@ -1388,10 +1404,12 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/basic.conf |
|
|
NGINXCONF=$3/basic.conf |
|
|
WPSUBDOMAINS="--subdomains" |
|
|
WPSUBDOMAINS="--subdomains" |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup Domain WordPress & Database |
|
|
# Setup Domain WordPress & Database |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
@ -1411,11 +1429,13 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/w3tc.conf |
|
|
NGINXCONF=$3/w3tc.conf |
|
|
WPSUBDOMAINS="--subdomains" |
|
|
WPSUBDOMAINS="--subdomains" |
|
|
NETWORKACTIVATE="--network" |
|
|
NETWORKACTIVATE="--network" |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup Domain WordPress & Database |
|
|
# Setup Domain WordPress & Database |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
@ -1442,11 +1462,13 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/wpsc.conf |
|
|
NGINXCONF=$3/wpsc.conf |
|
|
WPSUBDOMAINS="--subdomains" |
|
|
WPSUBDOMAINS="--subdomains" |
|
|
NETWORKACTIVATE="--network" |
|
|
NETWORKACTIVATE="--network" |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup Domain WordPress & Database |
|
|
# Setup Domain WordPress & Database |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
@ -1473,11 +1495,13 @@ then |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
# Congigure Variable |
|
|
|
|
|
WPNETWORKSITE=$3 |
|
|
|
|
|
WPCACHEOPTION=$4 |
|
|
SITENAMECHECK=$5 |
|
|
SITENAMECHECK=$5 |
|
|
NGINXCONF=$3/wpfc.conf |
|
|
NGINXCONF=$3/wpfc.conf |
|
|
WPSUBDOMAINS="--subdomains" |
|
|
WPSUBDOMAINS="--subdomains" |
|
|
NETWORKACTIVATE="--network" |
|
|
NETWORKACTIVATE="--network" |
|
|
echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" |
|
|
|
|
|
|
|
|
# Setup Domain WordPress & Database |
|
|
# Setup Domain WordPress & Database |
|
|
SETUPDOMAIN |
|
|
SETUPDOMAIN |
|
|