/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

  1. LOAD vhosts
  2. LOAD NotModified
  3. # if you have a host that always serves immutable content, this plugin
  4. # will reply 304 if client sent any "If-Modified-Since" header. since
  5. # if they have SOME copy, it's the correct one.
  6. CREATE SERVICE demo
  7. SET listen = 0.0.0.0:8001
  8. SET role = selector
  9. SET plugins = vhosts, notmodified
  10. SET persist_client = true
  11. SET demo.notmodified.host_pattern = ^immutable\.
  12. ENABLE demo