Просмотр исходного кода

Merge pull request #592 from alex-connor/patch-10

Update nginx.conf
Serghey Rodin 9 лет назад
Родитель
Сommit
64c8a2997b
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      install/rhel/7/nginx/nginx.conf

+ 1 - 2
install/rhel/7/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;