summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2018-07-16 13:01:49 -0700
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-07-24 16:22:48 +0000
commiteee186a2a002fe2e91615c2291722f5c248b7c36 (patch)
tree613424d7b23bb2f4efc15f610c2ac9555ecac9aa /meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf
parent6dce5b62e6c0fb8e88b5e4272a3f426f377b811b (diff)
downloadtalos-openbmc-eee186a2a002fe2e91615c2291722f5c248b7c36.tar.gz
talos-openbmc-eee186a2a002fe2e91615c2291722f5c248b7c36.zip
Add bmcweb to meta-ibm layer for redfish support
Put behind nginx and only activate when /redfish is queried via https. Testing: Verified that with this change in bmcweb: https://gerrit.openbmc-project.xyz/#/c/openbmc/bmcweb/+/11518/ that redfish commands can successfully be sent via nginx on the witherspoon qemu model. Change-Id: I97509dc3484deffd06c3d60db710eb3b17dfccb5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf')
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf
index 74010f9db..89e575af5 100644
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf
@@ -87,6 +87,10 @@ http {
proxy_pass http://127.0.0.1:8081;
}
+ location /redfish {
+ proxy_pass http://127.0.0.1:8082;
+ proxy_http_version 1.1;
+ }
include /etc/nginx/sites-enabled/443_*.conf;
}
OpenPOWER on IntegriCloud