Skip to content

Commit

Permalink
fix bucket ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
HUAHUAI23 committed Oct 19, 2023
1 parent b7adb8a commit ca51853
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/gateway/ingress/bucket-ingress.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ export class BucketGatewayService {
'nginx.ingress.kubernetes.io/cors-allow-credentials': 'false',
'nginx.ingress.kubernetes.io/cors-allow-methods': '*',
'nginx.ingress.kubernetes.io/cors-allow-headers':
'DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,x-laf-develop-token,x-laf-func-data,x-amz-content-sha256,x-amz-security-token,x-amz-user-agent,x-amz-date',
'DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,x-laf-develop-token,x-laf-func-data,x-amz-content-sha256,x-amz-security-token,x-amz-user-agent,x-amz-date,content-md5',
'nginx.ingress.kubernetes.io/cors-expose-headers': '*',
'nginx.ingress.kubernetes.io/cors-allow-origin': '*',
'nginx.ingress.kubernetes.io/proxy-body-size': '0',
},
},
spec: { ingressClassName, rules: [minioRule, bucketRule] },
Expand Down

0 comments on commit ca51853

Please sign in to comment.