|
@@ -7,8 +7,10 @@
|
|
|
#######################################################################################
|
|
#######################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
-#Add nginx user_agent separation to desktop/mobile
|
|
|
|
|
-cp -f $HESTIA_INSTALL_DIR/nginx/agents.conf /etc/nginx/conf.d/
|
|
|
|
|
|
|
+if [ -d "/etc/nginx/conf.d/" ]; then
|
|
|
|
|
+ #Add nginx user_agent separation to desktop/mobile
|
|
|
|
|
+ cp -f $HESTIA_INSTALL_DIR/nginx/agents.conf /etc/nginx/conf.d/
|
|
|
|
|
+fi
|
|
|
|
|
|
|
|
# Reset PMA SSO to fix bug with Nginx + Apache2
|
|
# Reset PMA SSO to fix bug with Nginx + Apache2
|
|
|
if [ "$PHPMYADMIN_KEY" != "" ]; then
|
|
if [ "$PHPMYADMIN_KEY" != "" ]; then
|