Config API reference for 1.24

This commit is contained in:
Qiming Teng
2022-05-04 22:32:02 +08:00
parent a8b640bd6f
commit a5eeb338f1
10 changed files with 1051 additions and 1000 deletions
@@ -89,7 +89,15 @@ For non-resource requests, this is the lower-cased HTTP method.</p>
<code>[]string</code>
</td>
<td>
<p>Source IPs, from where the request originated and intermediate proxies.</p>
<p>Source IPs, from where the request originated and intermediate proxies.
The source IPs are listed from (in order):</p>
<ol>
<li>X-Forwarded-For request header IPs</li>
<li>X-Real-Ip header, if not present in the X-Forwarded-For list</li>
<li>The remote address for the connection, if it doesn't match the last
IP in the list up to here (X-Forwarded-For or X-Real-Ip).
Note: All but the last IP can be arbitrarily set by the client.</li>
</ol>
</td>
</tr>
<tr><td><code>userAgent</code><br/>