server {
# MinIO
listen 443 ssl;
server_name file.gudu.fun;
auth_basic "Please input password"; #这里是验证时的提示信息
auth_basic_user_file /usr/share/nginx/password/password;
location / {
proxy_pass http://minio;
proxy_redirect default;
}
}