diff --git a/TaxBaik.Web/Program.cs b/TaxBaik.Web/Program.cs index 4239eb5..d73cece 100644 --- a/TaxBaik.Web/Program.cs +++ b/TaxBaik.Web/Program.cs @@ -17,6 +17,12 @@ using TaxBaik.Web.Services; var builder = WebApplication.CreateBuilder(args); var isProduction = builder.Environment.IsProduction(); +// HTTP 요청 헤더/쿠키 크기 제한 증가 (400 Bad Request 해결) +builder.WebHost.ConfigureKestrel(options => +{ + options.Limits.MaxRequestBodySize = 100 * 1024 * 1024; // 100MB +}); + // Serilog 설정 builder.Host.UseSerilog((context, config) => {