log interface

This commit is contained in:
Devaev Maxim
2018-10-28 06:51:51 +03:00
parent 1f54776ce0
commit ab342111d0
12 changed files with 133 additions and 16 deletions

View File

@@ -109,6 +109,16 @@ http {
proxy_request_buffering off;
}
location /kvmd/log {
rewrite /kvmd/log /log break;
proxy_pass http://kvmd;
include /etc/nginx/proxy-params.conf;
proxy_read_timeout 7d;
postpone_output 0;
proxy_buffering off;
proxy_ignore_headers X-Accel-Buffering;
}
location /kvmd {
rewrite /kvmd/?(.*) /$1 break;
proxy_pass http://kvmd;