Configure GZIP compression in Nginx

This commit is contained in:
Mo 2023-11-22 02:22:05 +01:00
parent c104e7b1b5
commit a0be785470

View file

@ -18,6 +18,19 @@ http {
tcp_nodelay on;
gzip on;
gzip_comp_level 6;
gzip_min_length 256;
gzip_proxied any;
gzip_types
application/atom+xml
application/javascript
application/json
application/rss+xml
image/svg+xml
text/css
text/html
text/plain
text/xml;
server_tokens off;