Browse Source

Поправки настройки nginx

Book Pauk 6 years ago
parent
commit
6954dde5df
1 changed files with 4 additions and 1 deletions
  1. 4 1
      docs/nginx/omnireader

+ 4 - 1
docs/nginx/omnireader

@@ -1,13 +1,16 @@
 server {
   listen 80;
   server_name omnireader.ru;
+  client_max_body_size 50m;
 
   location /api {
     proxy_pass http://localhost:44081;
   }
 
   location /tmp {
-    root /var/www/omnireader/public/tmp;
+    root /var/www/omnireader/public;
+    add_header Content-Type text/xml;
+    add_header Content-Encoding gzip;
   }
 
   location / {