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

This commit is contained in:
Book Pauk
2019-02-11 17:26:07 +07:00
parent 3ce6af1357
commit 6954dde5df

View File

@@ -1,13 +1,16 @@
server { server {
listen 80; listen 80;
server_name omnireader.ru; server_name omnireader.ru;
client_max_body_size 50m;
location /api { location /api {
proxy_pass http://localhost:44081; proxy_pass http://localhost:44081;
} }
location /tmp { 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 / { location / {