Skip to content

Commit

Permalink
Update nginx.conf with new gzip configuration and remove duplicate de…
Browse files Browse the repository at this point in the history
…fault_type and include directives
  • Loading branch information
mooxl committed Oct 24, 2023
1 parent 4999287 commit 5400495
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions astro/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ events {
}

http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
gzip on;
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
default_type application/octet-stream;
include /etc/nginx/mime.types;

server {
listen 80;

Expand Down

0 comments on commit 5400495

Please sign in to comment.