소스 검색

Добавил gzip

Book Pauk 6 년 전
부모
커밋
c97e8787a4
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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;
   }