forked from yaso_meth/mih-project
.
This commit is contained in:
@@ -84,16 +84,16 @@ http {
|
||||
|
||||
#Minio storage API
|
||||
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;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# 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;
|
||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
proxy_connect_timeout 300;
|
||||
# Default is HTTP/1, keepalive is only enabled in HTTP/1.1
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
chunked_transfer_encoding off;
|
||||
# proxy_connect_timeout 300;
|
||||
# # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
|
||||
# proxy_http_version 1.1;
|
||||
# proxy_set_header Connection "";
|
||||
# chunked_transfer_encoding off;
|
||||
|
||||
proxy_pass http://MIH-Minio:9000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user