nginx-proxy-manager/docs
Tom Winnerl 3d56787f40 fix(review): keep $uri of cached assets of a location with a forward path
The nested asset location of a location with Cache Assets and a forward
path always runs `rewrite ... break` (nginx forbids a URI part in
proxy_pass inside a regex location), so its copy of the advanced config saw
the forwarded path in $uri (/v1/app.css) while the location itself, static,
saw /api/app.css.

The asset location now sets $npm_loc_<i>_uri to $uri before anything else,
and its copy of the advanced config reads that variable instead of $uri,
${uri}, $document_uri and ${document_uri} (token ranges from the nginx
tokenizer, not in comments or *_by_lua_block bodies). The location itself is
unchanged. Docs name the remaining limits (settings inherited from a
top-level include, Lua ngx.var.uri). New harness case /curi/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 09:03:56 +01:00
..
.vitepress docs: custom location modes and statuses 2026-11-14 09:03:56 +01:00
scripts Docs update, use package version instead of latest, refer to better mariadb image 2026-02-19 08:36:41 +10:00
src fix(review): keep $uri of cached assets of a location with a forward path 2026-11-14 09:03:56 +01:00
.gitignore Migrate from vuepress to vitepress for docs site 2024-05-10 23:00:27 +10:00
package.json Docs update, use package version instead of latest, refer to better mariadb image 2026-02-19 08:36:41 +10:00
yarn.lock Update dependencies 2026-11-09 11:55:20 +10:00