|
|
@ -275,7 +275,7 @@ COMMONNGINX() |
|
|
|
EEMD5SUM |
|
|
|
|
|
|
|
# EasyEngine Admin Setup |
|
|
|
cp -v /usr/share/easyengine/nginx/22222 /etc/nginx/sites-available/ || OwnError "Unable To Copy 22222 Nginx Configuration File" |
|
|
|
cp /usr/share/easyengine/nginx/22222 /etc/nginx/sites-available/ || OwnError "Unable To Copy 22222 Nginx Configuration File" |
|
|
|
ln -s /etc/nginx/sites-available/22222 /etc/nginx/sites-enabled/ || OwnError "Unable To Create Symbolic Link For 22222 Nginx Configuration" |
|
|
|
|
|
|
|
# EasyEngine Admin SSL Setup |
|
|
@ -2890,7 +2890,7 @@ then |
|
|
|
# Edit The Nginx Configuration For $DOMAIN |
|
|
|
EESITEEDIT |
|
|
|
|
|
|
|
if [ $(git status -s /etc/nginx/sites-available/$DOMAIN | wc -l) -ne 0 ] |
|
|
|
if [ $(cd /etc/nginx; git status -s /etc/nginx/sites-available/$DOMAIN | wc -l) -ne 0 ] |
|
|
|
then |
|
|
|
# Take Nginx Configuration In Git Version Control |
|
|
|
EEGITDIR=/etc/nginx |
|
|
|