omnireader 444 B

12345678910111213141516171819202122232425
  1. server {
  2. listen 80;
  3. server_name omnireader.ru;
  4. client_max_body_size 50m;
  5. gzip on;
  6. gzip_min_length 1024;
  7. gzip_proxied expired no-cache no-store private auth;
  8. gzip_types *;
  9. location /api {
  10. proxy_pass http://localhost:44081;
  11. }
  12. location /tmp {
  13. root /var/www/omnireader/public;
  14. add_header Content-Type text/xml;
  15. add_header Content-Encoding gzip;
  16. }
  17. location / {
  18. root /var/www/omnireader/public;
  19. }
  20. }