Skip to content

Commit

Permalink
perf: enable gzip encoding (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturLange committed Feb 19, 2024
1 parent 2d5fa38 commit ea2e164
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ http {

keepalive_timeout 65;

#gzip on;
# gzip
gzip on;
gzip_min_length 1000;
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_types text/plain text/html text/css text/xml application/json application/javascript application/xml+rss application/atom+xml image/svg+xml image/x-icon;

resolver 127.0.0.11 valid=5s;

Expand Down

0 comments on commit ea2e164

Please sign in to comment.