From 19c4b0a18d247bfb94b1bd7e556ee975711c3ada Mon Sep 17 00:00:00 2001 From: Manan Jadhav Date: Sat, 9 Jan 2021 18:46:41 +0530 Subject: [PATCH] use the old env var used for virtual host --- Dockerfile | 2 +- src/main/resources/run-docker-container.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 698f517..b085eb4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ ENV \ S3PROXY_ENDPOINT="http://0.0.0.0:80" \ S3PROXY_IDENTITY="local-identity" \ S3PROXY_CREDENTIAL="local-credential" \ - S3PROXY_VIRTUAL_HOST="" \ + S3PROXY_VIRTUALHOST="" \ S3PROXY_CORS_ALLOW_ALL="false" \ S3PROXY_CORS_ALLOW_ORIGINS="" \ S3PROXY_CORS_ALLOW_METHODS="" \ diff --git a/src/main/resources/run-docker-container.sh b/src/main/resources/run-docker-container.sh index 902a599..f0412af 100755 --- a/src/main/resources/run-docker-container.sh +++ b/src/main/resources/run-docker-container.sh @@ -7,7 +7,6 @@ exec java \ -Ds3proxy.authorization="${S3PROXY_AUTHORIZATION}" \ -Ds3proxy.identity="${S3PROXY_IDENTITY}" \ -Ds3proxy.credential="${S3PROXY_CREDENTIAL}" \ - -Ds3proxy.virtual-host="${S3PROXY_VIRTUAL_HOST}" \ -Ds3proxy.cors-allow-all="${S3PROXY_CORS_ALLOW_ALL}" \ -Ds3proxy.cors-allow-origins="${S3PROXY_CORS_ALLOW_ORIGINS}" \ -Ds3proxy.cors-allow-methods="${S3PROXY_CORS_ALLOW_METHODS}" \