mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-19 14:40:27 +00:00
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>
|
||
|---|---|---|
| .. | ||
| .vitepress | ||
| scripts | ||
| src | ||
| .gitignore | ||
| package.json | ||
| yarn.lock | ||