PageRenderTime 38ms CodeModel.GetById 36ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/conf/not-modified-plugin.conf

http://github.com/perlbal/Perlbal
Config | 14 lines | 12 code | 2 blank | 0 comment | 0 complexity | 07a3a7eb7443e3d19f967ba84fa02121 MD5 | raw file
 1LOAD vhosts
 2LOAD NotModified
 3
 4# if you have a host that always serves immutable content, this plugin
 5# will reply 304 if client sent any "If-Modified-Since" header.  since
 6# if they have SOME copy, it's the correct one.
 7
 8CREATE SERVICE demo
 9  SET listen         = 0.0.0.0:8001
10  SET role           = selector
11  SET plugins        = vhosts, notmodified
12  SET persist_client = true
13  SET demo.notmodified.host_pattern = ^immutable\.
14ENABLE demo