This commit is contained in:
2024-07-18 15:57:26 +02:00
parent 5caa19bc59
commit 4a3360bf06

View File

@@ -7,15 +7,15 @@ http {
server_tokens off;
charset utf-8;
# upstream minioUI {
# least_conn;
# server minio:9001;
# }
upstream minioUI {
least_conn;
server minio:9001;
}
# upstream minioAPI {
# least_conn;
# server minio:9000;
# }
upstream minioAPI {
least_conn;
server minio:9000;
}
# always redirect to https
server {
@@ -67,7 +67,7 @@ http {
}
#Minio storage
location /mih/ui/ {
location /files/ui/ {
# rewrite ^/files/ui/(.*) /$1 break;
# proxy_set_header Host $http_host;
# proxy_set_header X-Real-IP $remote_addr;
@@ -90,11 +90,11 @@ http {
# chunked_transfer_encoding off;
proxy_pass http://MIH-Minio:9001/;
proxy_pass http://minioUI:9001/;
}
#Minio storage API
location /mih/ {
location /files/ {
# 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;
@@ -106,7 +106,7 @@ http {
# proxy_set_header Connection "";
# chunked_transfer_encoding off;
proxy_pass http://MIH-Minio:9000/;
proxy_pass http://minioAPI:9000/;
}
# location /phpmyadmin/ {