configuration-templates
/varnish/4/default.vcl |
@@ -225,13 +225,12 @@ |
# degrade into a simple TCP proxy, shuffling bytes back and forth. For a connection in pipe mode, |
# no other VCL subroutine will ever get called after vcl_pipe. |
|
# Note that only the first request to the backend will have |
# X-Forwarded-For set. If you use X-Forwarded-For and want to |
# have it set for all requests, make sure to have: |
# set bereq.http.connection = "close"; |
# here. It is not set by default as it might break some broken web |
# applications, like IIS with NTLM authentication. |
|
## Note that only the first request to the backend will have |
## X-Forwarded-For set. If you use X-Forwarded-For and want to |
## have it set for all requests, make sure to have: |
## set bereq.http.connection = "close"; |
## here. It is not set by default as it might break some broken web |
## applications, like IIS with NTLM authentication. |
# set bereq.http.Connection = "Close"; |
|
# Implementing websocket support (https://www.varnish-cache.org/docs/4.0/users-guide/vcl-example-websockets.html) |