summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2021-09-30 22:17:28 +0800
committerZhidao HONG <z.hong@f5.com>2021-09-30 22:17:28 +0800
commitc5220944d2acdb912c129fc82ac8a83d24e9845d (patch)
tree8cea32d295c7bde273cfe3a14b6044463aaec155 /docs
parent37144d68499217d086c26a2030e6e9f6f7342152 (diff)
downloadunit-c5220944d2acdb912c129fc82ac8a83d24e9845d.tar.gz
unit-c5220944d2acdb912c129fc82ac8a83d24e9845d.tar.bz2
Static: variables in the "share" option.
This commit supports variable in the "share" option, the finding path to file serve is the value from "share". An example: { "share": "/www/data/static$uri" }
Diffstat (limited to 'docs')
-rw-r--r--docs/changes.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/changes.xml b/docs/changes.xml
index c547633a..1e1bff0a 100644
--- a/docs/changes.xml
+++ b/docs/changes.xml
@@ -31,6 +31,19 @@ NGINX Unit updated to 1.26.0.
date="" time=""
packager="Andrei Belov &lt;defan@nginx.com&gt;">
+<change type="change">
+<para>
+the "share" option now specifies the entire path to the files it serves,
+rather than a document root directory to be prepended to the request URI.
+</para>
+</change>
+
+<change type="feature">
+<para>
+variables support in the "share" option.
+</para>
+</change>
+
<change type="feature">
<para>
variables support in the "chroot" option.