Skip to content

Commit ead604e

Browse files
committed
Update nginx.conf
1 parent dccd8dd commit ead604e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker/nginx.conf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ server {
3232
proxy_pass http://minio:9000/;
3333
proxy_http_version 1.1;
3434

35-
# !!! ép Host về tên upstream để MinIO không thử virtual-host-style
36-
proxy_set_header Host minio;
35+
proxy_set_header Host $host;
3736

3837
proxy_set_header X-Real-IP $remote_addr;
3938
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)