From 48b1bb6358f9892883b5456877059af70c6e8ceb Mon Sep 17 00:00:00 2001 From: yaso-meth Date: Thu, 18 Jul 2024 14:22:26 +0200 Subject: [PATCH] minio ui fix --- docker-compose.yml | 2 ++ nginx/nginx.conf | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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;