Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Commit

Permalink
Enable gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej authored Jun 6, 2022
1 parent 9695834 commit 18c40f5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
server {
listen 80;

gzip on;
gzip_vary on;
gzip_min_length 1024;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/javascript application/xml;
gzip_disable "MSIE [1-6]\.";

root /usr/share/nginx/html;
index index.html;
Expand Down Expand Up @@ -32,4 +39,4 @@ server {

}

}
}

0 comments on commit 18c40f5

Please sign in to comment.