🔧(compose) replace minio by rustfs
Minio is no longer maintained, its git repository is archived. We need to replace it. We decided to choose rustfs https://github.com/minio/minio/commit/7aac2a2c5b7c882e68c1ce017d8256be2feea27f https://github.com/rustfs/rustfs
This commit is contained in:
@@ -17,9 +17,9 @@ server {
|
||||
proxy_set_header X-Amz-Date $authDate;
|
||||
proxy_set_header X-Amz-Content-SHA256 $authContentSha256;
|
||||
|
||||
# Get resource from Minio
|
||||
proxy_pass http://minio:9000/impress-media-storage/;
|
||||
proxy_set_header Host minio:9000;
|
||||
# Get resource from rustfs
|
||||
proxy_pass http://rustfs:9000/impress-media-storage/;
|
||||
proxy_set_header Host rustfs:9000;
|
||||
|
||||
add_header Content-Security-Policy "default-src 'none'" always;
|
||||
}
|
||||
@@ -30,7 +30,7 @@ server {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Original-URL $request_uri;
|
||||
|
||||
|
||||
# Prevent the body from being passed
|
||||
proxy_pass_request_body off;
|
||||
proxy_set_header Content-Length "";
|
||||
|
||||
Reference in New Issue
Block a user