Browse Source

Добавил gzip

Book Pauk 6 năm trước cách đây
mục cha
commit
c97e8787a4
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      docs/nginx/omnireader

+ 6 - 0
docs/nginx/omnireader

@@ -1,8 +1,14 @@
 server {
   listen 80;
   server_name omnireader.ru;
+
   client_max_body_size 50m;
 
+  gzip on;
+  gzip_min_length 1024;
+  gzip_proxied expired no-cache no-store private auth;
+  gzip_types *;
+
   location /api {
     proxy_pass http://localhost:44081;
   }