summaryrefslogtreecommitdiff
path: root/configs/nginx/kvmd.ctx-server.conf
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-24 10:12:15 +0300
committerMaxim Devaev <[email protected]>2022-07-24 10:12:15 +0300
commitc1f104c0592921fa24e13fa9d652b6bb1d76f79c (patch)
treecfa2d01fe9f4bd2c772222eb2fa587b09fa42ce9 /configs/nginx/kvmd.ctx-server.conf
parente0d00662236f54499bdaf8a87535a99370723edf (diff)
loc-nobuffering.conf
Diffstat (limited to 'configs/nginx/kvmd.ctx-server.conf')
-rw-r--r--configs/nginx/kvmd.ctx-server.conf16
1 files changed, 4 insertions, 12 deletions
diff --git a/configs/nginx/kvmd.ctx-server.conf b/configs/nginx/kvmd.ctx-server.conf
index 559915ef..e34602e1 100644
--- a/configs/nginx/kvmd.ctx-server.conf
+++ b/configs/nginx/kvmd.ctx-server.conf
@@ -64,10 +64,8 @@ location /api/msd/read {
rewrite ^/api/msd/read\?(.*)$ /msd/read?$1 break;
proxy_pass http://kvmd;
include /etc/kvmd/nginx/loc-proxy.conf;
+ include /etc/kvmd/nginx/loc-nobuffering.conf;
proxy_read_timeout 7d;
- postpone_output 0;
- proxy_buffering off;
- proxy_ignore_headers X-Accel-Buffering;
auth_request off;
}
@@ -76,10 +74,8 @@ location /api/msd/write_remote {
rewrite ^/api/msd/write_remote\?(.*)$ /msd/write_remote?$1 break;
proxy_pass http://kvmd;
include /etc/kvmd/nginx/loc-proxy.conf;
+ include /etc/kvmd/nginx/loc-nobuffering.conf;
proxy_read_timeout 7d;
- postpone_output 0;
- proxy_buffering off;
- proxy_ignore_headers X-Accel-Buffering;
auth_request off;
}
@@ -100,10 +96,8 @@ location /api/log {
rewrite ^/api/log\?(.*)$ /log?$1 break;
proxy_pass http://kvmd;
include /etc/kvmd/nginx/loc-proxy.conf;
+ include /etc/kvmd/nginx/loc-nobuffering.conf;
proxy_read_timeout 7d;
- postpone_output 0;
- proxy_buffering off;
- proxy_ignore_headers X-Accel-Buffering;
auth_request off;
}
@@ -121,9 +115,7 @@ location /streamer {
rewrite ^/streamer/(.*)$ /$1 break;
proxy_pass http://ustreamer;
include /etc/kvmd/nginx/loc-proxy.conf;
- postpone_output 0;
- proxy_buffering off;
- proxy_ignore_headers X-Accel-Buffering;
+ include /etc/kvmd/nginx/loc-nobuffering.conf;
}
location /redfish {