doc: made clarification about ngx.exec() requested by Dayo Akanji.
This commit is contained in:
Родитель
e9139a954b
Коммит
14fbf40317
|
@ -4132,7 +4132,7 @@ ngx.exec('/some-location', 'a=3&b=5&c=6');
|
||||||
ngx.exec('/some-location?a=3&b=5', 'c=6');
|
ngx.exec('/some-location?a=3&b=5', 'c=6');
|
||||||
```
|
```
|
||||||
|
|
||||||
Named locations are also supported, but query strings are ignored. For example,
|
Named locations are also supported (but the second `args` argument is currently ignored). For example,
|
||||||
|
|
||||||
```nginx
|
```nginx
|
||||||
|
|
||||||
|
|
|
@ -3422,7 +3422,7 @@ Does an internal redirect to <code>uri</code> with <code>args</code>.
|
||||||
ngx.exec('/some-location?a=3&b=5', 'c=6');
|
ngx.exec('/some-location?a=3&b=5', 'c=6');
|
||||||
</geshi>
|
</geshi>
|
||||||
|
|
||||||
Named locations are also supported, but query strings are ignored. For example,
|
Named locations are also supported (but the second <code>args</code> argument is currently ignored). For example,
|
||||||
|
|
||||||
<geshi lang="nginx">
|
<geshi lang="nginx">
|
||||||
location /foo {
|
location /foo {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче