commit | ac76cf33af08fa864d23a3dd77c1104b7a5fbd10 | [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 | 9789ea9901b77512d1a55704a4befb0fedd4bed3 | |
parent | 11520808232e93626ca07a17877e7b7df70cf3a2 [diff] |
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-ibm/recipes-httpd/nginx/files/nginx.conf b/meta-ibm/recipes-httpd/nginx/files/nginx.conf index 74010f9..89e575a 100644 --- a/meta-ibm/recipes-httpd/nginx/files/nginx.conf +++ b/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; }