diff --git a/Dockerfile b/Dockerfile index e97fa23..c9fc12b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM scheduler:latest +FROM proxy-scheduler:latest COPY scripts /scripts diff --git a/scripts/nginx_config_create.sh b/scripts/nginx_config_create.sh index 2a0df7b..e6ccfd4 100755 --- a/scripts/nginx_config_create.sh +++ b/scripts/nginx_config_create.sh @@ -44,10 +44,10 @@ rewrite_log on;" echo if [[ $REDIRECT_HTTP != "" && $HTTP_PORT != "" ]]; then - echo "return 301 http://$REDIRECT_HTTP;" + echo "return 301 $REDIRECT_HTTP;" elif [[ $REDIRECT_HTTPS != "" && $HTTP_PORT != "" ]]; then - echo "return 301 https://$REDIRECT_HTTPS;" + echo "return 301 $REDIRECT_HTTPS;" else if [[ $ERROR_PAGE != "" && $HTTP_PORT != "" ]]; then