commit | af8174c8cfb34008793ae23ad345aeb28146555c | [log] [tgz] |
---|---|---|
author | Deepak Kodihalli <dkodihal@in.ibm.com> | Mon Jul 30 03:41:43 2018 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Aug 21 19:30:29 2018 +0000 |
tree | 72cc97e63cebe0297747a3cfacc825271bc66a5d | |
parent | 5e992bdb20fc33b2da6a31be1a89f827941da324 [diff] |
webui: serve via nginx Serve the mostly pre-compressed static webui content via nginx. If nginx can't find a static file, proxy the URI back to the rest server. A follow-up commit will remove code that serves webui from the phosphor-rest-server. Tested: - The webui, rest server and bmcweb seem to be working as before. - curl -H "Accept-Encoding: gzip" https://<witherspoon>/foo.html is served compressed content. - curl https://<witherspoon>/foo.html is served uncompressed content. Change-Id: Ice443f00a467f3558f28d697261df4f23278f420 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.