Merge pull request #2317 from dokku/jg-cert-remap-http-to-https
Properly remap http port 80 mappings to https 443 when adding an ssl certificate
This commit is contained in:
@@ -135,7 +135,7 @@ ps_restart() {
|
||||
local APP="$1"; verify_app_name "$APP"
|
||||
local IMAGE_TAG=$(get_running_image_tag "$APP")
|
||||
|
||||
if is_deployed "$APP"; then
|
||||
if (is_deployed "$APP"); then
|
||||
release_and_deploy "$APP" "$IMAGE_TAG"
|
||||
else
|
||||
echo "App $APP has not been deployed"
|
||||
|
||||
@@ -7,7 +7,7 @@ ps_rebuildall_cmd() {
|
||||
declare desc="rebuilds all deployed apps via command line"
|
||||
local cmd="ps:rebuildall"
|
||||
for app in $(dokku_apps); do
|
||||
is_deployed "$app" && ps_rebuild "$app"
|
||||
(is_deployed "$app") && ps_rebuild "$app"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user