@@ -86,13 +86,13 @@ The "varnishlog" utility may produce a horrendous amount of output. To be able
...
@@ -86,13 +86,13 @@ The "varnishlog" utility may produce a horrendous amount of output. To be able
The ReqStart token will include the client IP address. To see log entries matching this, type::
The ReqStart token will include the client IP address. To see log entries matching this, type::
$ varnishlog -c -o ReqStart 192.0.2.123
$ varnishlog -c -m ReqStart:192.0.2.123
To see the backend requests generated by a client IP address, we can match on the TxHeader token, since the IP address of the client is included in the X-Forwarded-For header in the request sent to the backend.
To see the backend requests generated by a client IP address, we can match on the TxHeader token, since the IP address of the client is included in the X-Forwarded-For header in the request sent to the backend.
At the shell command line, type::
At the shell command line, type::
$ varnishlog -b -o TxHeader 192.0.2.123
$ varnishlog -b -m TxHeader:192.0.2.123
**How can I rewrite URLS before they are sent to the backend?**
**How can I rewrite URLS before they are sent to the backend?**