diff options
Diffstat (limited to 'configs/nginx')
-rw-r--r-- | configs/nginx/nginx.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configs/nginx/nginx.conf b/configs/nginx/nginx.conf index a06ced1b..e5fd03c4 100644 --- a/configs/nginx/nginx.conf +++ b/configs/nginx/nginx.conf @@ -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; |