Para un ingreso K8S nginx, ¿hay alguna manera de establecer el tipo mime para un retorno sin definir ubicaciones personalizadas?
Esto no funciona
nginx.ingress.kubernetes.io/server-snippet: | if ($ssl_client_escaped_cert = "") { default_type application/problem+json; return 401 '{"type"="https://namespace/problems#unauthorized", "title"="Client certificate required"}'; }Esto funciona, pero el tipo de contenido es texto.
nginx.ingress.kubernetes.io/server-snippet: | if ($ssl_client_escaped_cert = "") { return 401 '{"type"="https://namespace/problems#unauthorized", "title"="Client certificate required"}'; }