API_SERVER_DOMAIN will always be set now
This commit is contained in:
parent
3dc1454fd7
commit
7e29cf3ca6
2
start.sh
2
start.sh
|
@ -8,7 +8,7 @@ mkdir -p /app/data/data /run/minio/config /run/minio/certs
|
|||
source /app/data/env.sh
|
||||
|
||||
# https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL
|
||||
[[ -n "${API_SERVER_DOMAIN:-}" ]] && export MINIO_SERVER_URL="https://${API_SERVER_DOMAIN}"
|
||||
export MINIO_SERVER_URL="https://${API_SERVER_DOMAIN}"
|
||||
export MINIO_BROWSER_REDIRECT_URL="https://${CLOUDRON_APP_DOMAIN}"
|
||||
|
||||
if [[ ! -d /app/data/mc_config ]]; then
|
||||
|
|
Loading…
Reference in New Issue