minio storage fix pt6

This commit is contained in:
2025-11-25 14:49:56 +02:00
parent 565e9199d4
commit bb6a8e3090
3 changed files with 6 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ def minioConnect(env):
else:
return Minio(
#"minio:9000",
endpoint="minio.mzansi-innovation-hub.co.za:9000",
endpoint="minio.mzansi-innovation-hub.co.za",
access_key=minioAccess,
secret_key=minioSecret,
secure=True

View File

@@ -137,6 +137,7 @@ services:
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PW}
MINIO_SERVER_URL: ${MINIO_SERVER_URL}
networks:
- MIH-network
command: ["server", "/data", "--console-address", ":9001"]

View File

@@ -271,7 +271,7 @@ http {
location / {
proxy_set_header Host $http_host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
@@ -282,12 +282,12 @@ http {
proxy_set_header Connection "";
chunked_transfer_encoding off;
proxy_pass http://MIH-Minio:9000; # This uses the upstream directive definition to load balance
proxy_pass http://minioAPI; # This uses the upstream directive definition to load balance
}
location /minio/ui/ {
rewrite ^/minio/ui/(.*) /$1 break;
proxy_set_header Host $http_host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
@@ -308,7 +308,7 @@ http {
chunked_transfer_encoding off;
proxy_pass http://MIH-Minio:9001; # This uses the upstream directive definition to load balance
proxy_pass http://minioUI; # This uses the upstream directive definition to load balance
}
location ~ /.well-known/acme-challenge/ {