12345678910111213141516171819202122232425 |
- 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;
- }
- location /tmp {
- root /var/www/omnireader/public;
- add_header Content-Type text/xml;
- add_header Content-Encoding gzip;
- }
- location / {
- root /var/www/omnireader/public;
- }
- }
|