Jelajahi Sumber

Merge pull request #590 from alex-connor/patch-8

Update nginx.conf
Serghey Rodin 9 tahun lalu
induk
melakukan
7d087c8d4c
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      install/rhel/5/nginx/nginx.conf

+ 1 - 2
install/rhel/5/nginx/nginx.conf

@@ -51,8 +51,7 @@ http {
     gzip_comp_level     9;
     gzip_min_length     512;
     gzip_buffers        8 64k;
-    gzip_types          text/plain text/css text/javascript
-                        application/x-javascript application/javascript;
+    gzip_types          text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml application/x-font-ttf font/opentype;
     gzip_proxied        any;