Files
liberama/docs/nginx/omnireader
2019-02-11 17:26:07 +07:00

20 lines
336 B
Plaintext

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