Skip to content

Commit 215545c

Browse files
committed
README.md: added NOTE for proxy_connect_address & proxy_connect_bind directive
1 parent 3eb52e0 commit 215545c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,10 @@ Syntax: **proxy_connect_address `address [transparent] | off`**
187187
Default: `none`
188188
Context: `server`
189189

190-
Specifiy an IP address of the proxied server. The address can contain variables. The special value off is equal to none,
191-
which uses the IP address resolved from host name of CONNECT request line.
190+
Specifiy an IP address of the proxied server. The address can contain variables.
191+
The special value off is equal to none, which uses the IP address resolved from host name of CONNECT request line.
192+
193+
NOTE: If using `set $<nginx variable>` and `proxy_connect_address $<nginx variable>` together, you should use `proxy_connect_rewrite.patch` instead, see [Install](#install) for more details.
192194

193195
proxy_connect_bind
194196
------------------
@@ -198,17 +200,17 @@ Default: `none`
198200
Context: `server`
199201

200202
Makes outgoing connections to a proxied server originate from the specified local IP address with an optional port.
201-
Parameter value can contain variables. The special value off is equal to none, which allows the system to auto-assign
202-
the local IP address and port.
203+
Parameter value can contain variables. The special value off is equal to none, which allows the system to auto-assign the local IP address and port.
203204

204-
The transparent parameter allows outgoing connections to a proxied server originate from a non-local IP address,
205-
for example, from a real IP address of a client:
205+
The transparent parameter allows outgoing connections to a proxied server originate from a non-local IP address, for example, from a real IP address of a client:
206206

207207
```
208208
proxy_connect_bind $remote_addr transparent;
209209
210210
```
211211

212+
NOTE: If using `set $<nginx variable>` and `proxy_connect_bind $<nginx variable>` together, you should use `proxy_connect_rewrite.patch` instead, see [Install](#install) for more details.
213+
212214
Variables
213215
=========
214216

0 commit comments

Comments
 (0)