diff --git a/Wins/MainWin.xaml.cs b/Wins/MainWin.xaml.cs index 373ff43..0d11ffe 100644 --- a/Wins/MainWin.xaml.cs +++ b/Wins/MainWin.xaml.cs @@ -797,7 +797,8 @@ public partial class MainWin : Window .AddOrUpdate("events:worker_connections", "65536") .AddOrUpdate("http:proxy_set_header", "Host $http_host") .AddOrUpdate("http:proxy_ssl_server_name", !MainPres.IsFlashing ? "on" : "off") - .AddOrUpdate("http:proxy_buffer_size", "8k") + .AddOrUpdate("http:proxy_buffer_size", "16k") + .AddOrUpdate("http:proxy_buffers", "8 8k") .AddOrUpdate($"http:server[{serverIndex}]:listen", $"{NginxHttpPort} default_server") .AddOrUpdate($"http:server[{serverIndex}]:return", "https://$host$request_uri");