diff options
author | Matt Spinler <spinler@us.ibm.com> | 2018-02-02 13:51:38 -0600 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-02-12 23:15:45 +0000 |
commit | d41643ecb91b51b0fd7057a04230034d8feadaee (patch) | |
tree | 497142cbe16600caa9056cb3b7d3bd9c82ce3b75 /servers | |
parent | 5ce760dc9f54f79c79f1c1278f73f7a0db5d0ad0 (diff) | |
download | phosphor-rest-server-d41643ecb91b51b0fd7057a04230034d8feadaee.tar.gz phosphor-rest-server-d41643ecb91b51b0fd7057a04230034d8feadaee.zip |
Add web UI routing support
Route the calls that a browser will request when
it's pointed at https://<bmc> to the specified
files in /usr/share/www, which come from the
phosphor-webui repository.
This takes over the '/' REST endpoint, but that provides
no functionality to the customer anyway.
The long term vision is to use a more advanced server
like nginx, but this is needed until something else is ready.
Tested: Served the phosphor-webui GUI from the BMC with
the script.
Resolves openbmc/openbmc#2821
Change-Id: Id491f9e0865a445160b91897082eb1c69695f562
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'servers')
0 files changed, 0 insertions, 0 deletions