Update functions

This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2017-02-05 13:39:49 -05:00
1 parent aae7401888
commit 336ffc9b09
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ configure_nginx_ports() {
config_set --no-restart "$APP" DOKKU_NGINX_PORT="$NGINX_PORT" config_set --no-restart "$APP" DOKKU_NGINX_PORT="$NGINX_PORT"
fi fi
if [[ -z "$DOKKU_NGINX_SSL_PORT" ]]; then if [[ -z "$DOKKU_NGINX_SSL_PORT" ]]; then
if (is_ssl_enabled "$APP") if (is_ssl_enabled "$APP"); then
local NGINX_SSL_PORT=443 local NGINX_SSL_PORT=443
if [[ -z "$RAW_TCP_PORTS" ]] && [[ "$IS_APP_VHOST_ENABLED" == "false" ]]; then if [[ -z "$RAW_TCP_PORTS" ]] && [[ "$IS_APP_VHOST_ENABLED" == "false" ]]; then
dokku_log_info1 "no nginx ssl port set. setting to random open high port" dokku_log_info1 "no nginx ssl port set. setting to random open high port"