forked from yaso_meth/mih-project
minio ui fix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user