diff --git a/docker-compose.yml b/docker-compose.yml index 061a70a6..d5179636 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -81,6 +81,8 @@ services: volumes: - './File_Storage:/data' environment: + - MINIO_SERVER_URL="https://mzansi-innovation-hub.co.za/files/" + - MINIO_BROWSER_REDIRECT_URL="https://mzansi-innovation-hub.co.za/files/ui/" - MINIO_ROOT_USER=yaso - MINIO_ROOT_PASSWORD=C@rtoon1995 diff --git a/nginx/nginx.conf b/nginx/nginx.conf index de1ff88e..319ac589 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -56,8 +56,8 @@ http { } #Minio storage - location /files/UI/ { - rewrite ^/files/UI/(.*) /$1 break; + location /files/ui/ { + rewrite ^/files/ui/(.*) /$1 break; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;