Skip to content

Commit

Permalink
remove default gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojun1998 committed Sep 30, 2024
1 parent 18ed595 commit 115be8e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions nginx-conf/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,6 @@ server {
listen [::]:80;
server_name localhost;

gzip on;
gzip_static on;
gzip_min_length 16k;
gzip_buffers 4 128k;
gzip_http_version 1.1;
gzip_comp_level 3;
gzip_types text/plain application/javascript application/x-javascript text/javascript text/css application/xml;
gzip_vary on;
gzip_proxied expired no-cache no-store private auth;
gzip_disable "MSIE [1-6]\.";

#access_log /var/log/nginx/host.access.log main;

location / {
Expand Down

0 comments on commit 115be8e

Please sign in to comment.