1.调整默认的 nginx 参数 client_max_body_size
1 2 3 4 5 6 7 8 9 10 11 12
| apiVersion: {{ingApiVersion}} kind: Ingress metadata: name: {{ingName}} namespace: {{namespace}} annotations: nginx.ingress.kubernetes.io/rewrite-target: / kubernetes.io/ingress.class: {{ingClass}} cert-manager.io/cluster-issuer: {{clusterIssuer}} nginx.ingress.kubernetes.io/ssl-redirect: 'true' nginx.ingress.kubernetes.io/force-ssl-redirect: 'true' nginx.ingress.kubernetes.io/proxy-body-size: '30m' # 跳转 nginx 的上传大小
|
------------- 本文结束 感谢您的阅读-------------