configuration-templates – Diff between revs 19 and 20
?pathlinks?
Rev 19 | Rev 20 | |||
---|---|---|---|---|
Line 223... | Line 223... | |||
223 | # In this mode, the request is passed on to the backend, and any further data from both the client |
223 | # In this mode, the request is passed on to the backend, and any further data from both the client |
|
224 | # and backend is passed on unaltered until either end closes the connection. Basically, Varnish will |
224 | # and backend is passed on unaltered until either end closes the connection. Basically, Varnish will |
|
225 | # degrade into a simple TCP proxy, shuffling bytes back and forth. For a connection in pipe mode, |
225 | # degrade into a simple TCP proxy, shuffling bytes back and forth. For a connection in pipe mode, |
|
226 | # no other VCL subroutine will ever get called after vcl_pipe. |
226 | # no other VCL subroutine will ever get called after vcl_pipe. |
|
Line 227... | Line 227... | |||
227 | |
227 | |
|
228 | # Note that only the first request to the backend will have |
228 | ## Note that only the first request to the backend will have |
|
229 | # X-Forwarded-For set. If you use X-Forwarded-For and want to |
229 | ## X-Forwarded-For set. If you use X-Forwarded-For and want to |
|
230 | # have it set for all requests, make sure to have: |
230 | ## have it set for all requests, make sure to have: |
|
231 | # set bereq.http.connection = "close"; |
231 | ## set bereq.http.connection = "close"; |
|
232 | # here. It is not set by default as it might break some broken web |
232 | ## here. It is not set by default as it might break some broken web |
|
233 | # applications, like IIS with NTLM authentication. |
- | ||
234 | |
233 | ## applications, like IIS with NTLM authentication. |
|
Line 235... | Line 234... | |||
235 | # set bereq.http.Connection = "Close"; |
234 | # set bereq.http.Connection = "Close"; |
|
236 | |
235 | |
|
237 | # Implementing websocket support (https://www.varnish-cache.org/docs/4.0/users-guide/vcl-example-websockets.html) |
236 | # Implementing websocket support (https://www.varnish-cache.org/docs/4.0/users-guide/vcl-example-websockets.html) |