minio使用nginx代理出现问题(上传文件可以,创建桶失败)
server {
listen 80;
#error_page 500 502 503 504 404 /404.html; 注释掉
location / {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
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://192.168.1.245:9000;
}
}
标签:set,http,minio,header,nginx,404,proxy
From: https://www.cnblogs.com/anlalala/p/17514801.html