Bad Gateway and 404 Error When Uploading Large Files via Traefik and Payload CMS

I'm using k3s and Helm for my deployment. Traefik is provided by default with k3s, so there's no custom Traefik configuration — only an Ingress for my service.

When uploading a file through Payload CMS, I encounter an error. If someone is accessing the admin panel at the same time as the upload, the request results in a Bad Gateway, followed by a 404 error.

Here's my current Ingress configuration for Payload CMS:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: payloadcms-ingress
  namespace: {{ .Values.namespace }}
  annotations:
    traefik.ingress.kubernetes.io/router.entrypoints: websecure
    traefik.ingress.kubernetes.io/router.tls: "true"
    cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
  ingressClassName: traefik
  rules:
    - host: {{ .Values.payloadcms.ingress.host }}
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: payloadcms
                port:
                  number: 3000
  tls:
    - hosts:
        - {{ .Values.payloadcms.ingress.host }}
      secretName: {{ .Values.payloadcms.ingress.tlsSecretName }}

Have you determined if there is a specific size limit?