diff options
author | Deepak Kodihalli <dkodihal@in.ibm.com> | 2018-07-30 03:41:43 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-21 19:30:29 +0000 |
commit | ef18a48d23e7fcaef501166b0766680519846272 (patch) | |
tree | f1cf207f04249e254d778469b328724856ebea36 /meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor | |
parent | ed734e8c838ce77fd01aa8e9d54f47145b828f37 (diff) | |
download | talos-openbmc-ef18a48d23e7fcaef501166b0766680519846272.tar.gz talos-openbmc-ef18a48d23e7fcaef501166b0766680519846272.zip |
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>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor')
0 files changed, 0 insertions, 0 deletions