Sha256: b897f286060c157e4859877b06263ea426a58dce2c8da30a92840fd83c7fbcdc

Contents?: true

Size: 372 Bytes

Versions: 16

Compression:

Stored size: 372 Bytes

Contents

vcl 4.0;
# generated varnish config: <%= ENVIRONMENT %>
# local test: <%= LOCAL_TEST_MODE ? 'ENABLED' : 'DISABLED' %>
# https://www.varnish-cache.org/docs/4.0/users-guide/vcl-example-websockets.html

sub vcl_pipe {
	if (req.http.upgrade)
	{
		set bereq.http.upgrade = req.http.upgrade;
	}
}

sub vcl_recv {
	if (req.http.Upgrade ~"(?i)websocket")
	{
		return (pipe);
	}
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
odania-0.0.32 templates/varnish/websocker.vcl.erb
odania-0.0.31 templates/varnish/websocker.vcl.erb
odania-0.0.30 templates/varnish/websocker.vcl.erb
odania-0.0.29 templates/varnish/websocker.vcl.erb
odania-0.0.28 templates/varnish/websocker.vcl.erb
odania-0.0.27 templates/varnish/websocker.vcl.erb
odania-0.0.26 templates/varnish/websocker.vcl.erb
odania-0.0.25 templates/varnish/websocker.vcl.erb
odania-0.0.24 templates/varnish/websocker.vcl.erb
odania-0.0.23 templates/varnish/websocker.vcl.erb
odania-0.0.22 templates/varnish/websocker.vcl.erb
odania-0.0.21 templates/varnish/websocker.vcl.erb
odania-0.0.20 templates/varnish/websocker.vcl.erb
odania-0.0.19 templates/varnish/websocker.vcl.erb
odania-0.0.18 templates/varnish/websocker.vcl.erb
odania-0.0.17 templates/varnish/websocker.vcl.erb