perf(openresty): improve compression and proxy buffering (#42)

This commit is contained in:
Ryan
2026-10-07 11:05:27 +08:00
committed by GitHub
parent 28b7f7d796
commit e49e0ad2bf
6 changed files with 21 additions and 2 deletions
+2
View File
@@ -102,6 +102,8 @@ http {
gzip {{OpenRestyGzip}};
gzip_min_length {{OpenRestyGzipMinLength}};
gzip_comp_level {{OpenRestyGzipCompLevel}};
gzip_vary on;
gzip_types text/plain text/css text/xml application/javascript application/json application/xml application/rss+xml application/atom+xml image/svg+xml;
{{OpenRestyResolverDirective}}{{OpenRestyCacheBlock}} include {{OpenRestyRouteConfigInclude}};
}
`