Formatting fixes
This commit is contained in:
@@ -130,10 +130,8 @@ restart_nginx() {
|
|||||||
declare desc="restart nginx for given distros"
|
declare desc="restart nginx for given distros"
|
||||||
local PROXY_ENABLED="$(plugn trigger proxy-is-enabled "$APP")"
|
local PROXY_ENABLED="$(plugn trigger proxy-is-enabled "$APP")"
|
||||||
local PROXY_TYPE="$(plugn trigger proxy-type "$APP")"
|
local PROXY_TYPE="$(plugn trigger proxy-type "$APP")"
|
||||||
if [[ "$PROXY_ENABLED" == "true" ]]; then
|
if [[ "$PROXY_ENABLED" == "true" ]] && [[ "$PROXY_TYPE" == "nginx" ]]; then
|
||||||
if [[ "$PROXY_TYPE" == "nginx" ]]; then
|
fn-nginx-vhosts-nginx-init-cmd "reload"
|
||||||
fn-nginx-vhosts-nginx-init-cmd "reload"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user