minio ui fix

This commit is contained in:
2024-07-18 14:22:26 +02:00
parent 7e214a610c
commit 48b1bb6358
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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;