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][/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,请教