Browse Source

Добавил gzip

Book Pauk 6 years ago
parent
commit
c97e8787a4
1 changed files with 6 additions and 0 deletions
  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;
   }