asp.net core identityserver4 回调的时候出现502 bad gateway

在使用ingress配置的时候,出现502 bad gateway ,看网上的意思是   The problem has been solved. It seems that NGINX doesn't allow a large header content. From this help [url]https://medium.com/@mshanak/solve-nginx-error-signin-oidc-502-bad-gateway-dotnet-core-and-identity-serve-bc27920b42d5[/url] , we have set these properties: nginx.conf[code]http{ ... proxy_buffer_size   128k; proxy_buffers   4 256k; proxy_busy_buffers_size   256k; large_client_header_buffers 4 16k; ... } [/code] default.conf[code]location /{     ...     fastcgi_buffers 16 16k;     fastcgi_buffer_size 32k;     ... } [/code] Wonder if there is any way to configure [i]IdentityServer[/i] to send much smaller header content!   不知道怎么配置ingress,请教
已邀请:

https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/

要回复问题请先登录注册