summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2020-09-29 11:14:00 +0300
committerGitHub <[email protected]>2020-09-29 11:14:00 +0300
commita86ec65024774bab1b6b62ec30a8cf46c0e1613d (patch)
tree5aad14a8ff571b3070c97cba7d2f7baec6f4efd3 /configs
parent192790482281dced8ec13bb556ce87502cb3d91d (diff)
parentccab97a56f995e04bd504b996ee31b2b4adeddb3 (diff)
Merge pull request #13 from pikvm/redfish
basic redfish api
Diffstat (limited to 'configs')
-rw-r--r--configs/nginx/kvmd.ctx-server.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/nginx/kvmd.ctx-server.conf b/configs/nginx/kvmd.ctx-server.conf
index 86f3ee47..1eb37842 100644
--- a/configs/nginx/kvmd.ctx-server.conf
+++ b/configs/nginx/kvmd.ctx-server.conf
@@ -93,3 +93,9 @@ location /streamer {
proxy_buffering off;
proxy_ignore_headers X-Accel-Buffering;
}
+
+location /redfish {
+ proxy_pass http://kvmd;
+ include /etc/kvmd/nginx/loc-proxy.conf;
+ auth_request off;
+}