diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 606914b0..809ee94a 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -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 diff --git a/usr/share/easyengine/nginx/22222 b/usr/share/easyengine/nginx/22222 index 59ae9cb8..74f89a47 100644 --- a/usr/share/easyengine/nginx/22222 +++ b/usr/share/easyengine/nginx/22222 @@ -12,7 +12,7 @@ server { # Force HTTP To HTTPS error_page 497 =200 https://$host:22222$request_uri; - root /var/www/eeadmin/htdocs; + root /var/www/22222/htdocs; index index.php index.htm index.html; # Turn On Directory List