.
This commit is contained in:
@@ -7,15 +7,15 @@ http {
|
|||||||
server_tokens off;
|
server_tokens off;
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
|
|
||||||
# upstream minioUI {
|
upstream minioUI {
|
||||||
# least_conn;
|
least_conn;
|
||||||
# server minio:9001;
|
server minio:9001;
|
||||||
# }
|
}
|
||||||
|
|
||||||
# upstream minioAPI {
|
upstream minioAPI {
|
||||||
# least_conn;
|
least_conn;
|
||||||
# server minio:9000;
|
server minio:9000;
|
||||||
# }
|
}
|
||||||
|
|
||||||
# always redirect to https
|
# always redirect to https
|
||||||
server {
|
server {
|
||||||
@@ -67,7 +67,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#Minio storage
|
#Minio storage
|
||||||
location /mih/ui/ {
|
location /files/ui/ {
|
||||||
# rewrite ^/files/ui/(.*) /$1 break;
|
# rewrite ^/files/ui/(.*) /$1 break;
|
||||||
# proxy_set_header Host $http_host;
|
# proxy_set_header Host $http_host;
|
||||||
# proxy_set_header X-Real-IP $remote_addr;
|
# proxy_set_header X-Real-IP $remote_addr;
|
||||||
@@ -90,11 +90,11 @@ http {
|
|||||||
|
|
||||||
# chunked_transfer_encoding off;
|
# chunked_transfer_encoding off;
|
||||||
|
|
||||||
proxy_pass http://MIH-Minio:9001/;
|
proxy_pass http://minioUI:9001/;
|
||||||
}
|
}
|
||||||
|
|
||||||
#Minio storage API
|
#Minio storage API
|
||||||
location /mih/ {
|
location /files/ {
|
||||||
# proxy_set_header Host $http_host;
|
# proxy_set_header Host $http_host;
|
||||||
# proxy_set_header X-Real-IP $remote_addr;
|
# proxy_set_header X-Real-IP $remote_addr;
|
||||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
@@ -106,7 +106,7 @@ http {
|
|||||||
# proxy_set_header Connection "";
|
# proxy_set_header Connection "";
|
||||||
# chunked_transfer_encoding off;
|
# chunked_transfer_encoding off;
|
||||||
|
|
||||||
proxy_pass http://MIH-Minio:9000/;
|
proxy_pass http://minioAPI:9000/;
|
||||||
}
|
}
|
||||||
|
|
||||||
# location /phpmyadmin/ {
|
# location /phpmyadmin/ {
|
||||||
|
|||||||
Reference in New Issue
Block a user