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