commit | eee186a2a002fe2e91615c2291722f5c248b7c36 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Mon Jul 16 13:01:49 2018 -0700 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Jul 24 16:22:48 2018 +0000 |
tree | 613424d7b23bb2f4efc15f610c2ac9555ecac9aa | |
parent | 6dce5b62e6c0fb8e88b5e4272a3f426f377b811b [diff] [blame] |
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>
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 74010f9..89e575a 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 @@ 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; }