summaryrefslogtreecommitdiffstats
path: root/meta-openpower
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2019-02-04 18:27:05 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-02-06 11:29:40 -0500
commita7bfae192c7090e9270f2ab0eb3a01fb5a92786f (patch)
tree268b1f029087bd407ee49c0f64562e4502562299 /meta-openpower
parent3da1114f83209dd25b2821d2eb3f9024c66ca506 (diff)
downloadtalos-openbmc-a7bfae192c7090e9270f2ab0eb3a01fb5a92786f.tar.gz
talos-openbmc-a7bfae192c7090e9270f2ab0eb3a01fb5a92786f.zip
openpower: webui: remove nginx workarounds
Remove some workarounds that aren't needed anymore with the transition to bmcweb. (From meta-openpower rev: 50bc196dccc7aa374e05b0e2e16a0d0ddd48e324) Change-Id: I220ef7a683a41c21914ab2bd936bec44d34ff024 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openpower')
-rw-r--r--meta-openpower/recipes-phosphor/webui/phosphor-webui_%.bbappend16
1 files changed, 0 insertions, 16 deletions
diff --git a/meta-openpower/recipes-phosphor/webui/phosphor-webui_%.bbappend b/meta-openpower/recipes-phosphor/webui/phosphor-webui_%.bbappend
deleted file mode 100644
index 17dd7397b..000000000
--- a/meta-openpower/recipes-phosphor/webui/phosphor-webui_%.bbappend
+++ /dev/null
@@ -1,16 +0,0 @@
-do_install_append_df-openpower () {
-
-# The webui content is served as pre-compressed gzip content. While nginx can
-# handle this via the gzip_static directive (and we use that), the nginx
-# try_files directive (which we also use) searches the URI as-is. The suggested
-# workaround is to have an empty uncompressed file with the same name as the
-# compressed file. This does not impact the functionality of gzip_static.
-# So for eg if there's an index.html.gz, create an empty index.html. Same goes
-# for all the webui content.
-# https://serverfault.com/questions/571733/nginx-gzip-static-why-are-the-non-compressed-files-required
-# https://www.ruby-forum.com/topic/4402481
-# https://trac.nginx.org/nginx/ticket/1367
-
-find ${D}${datadir}/www -type f -name '*.gz' -exec sh -c 'touch `dirname "$0"`/`basename "$0" .gz`' '{}' \;
-
-}
OpenPOWER on IntegriCloud