Newer
Older
ngx_http_header_inspect / README
@Andreas Jaggi Andreas Jaggi on 9 Sep 2011 2 KB Inspect If-Match header, fixes #9
  1. Name
  2. ngx_http_header_inspect - Inspect HTTP headers
  3.  
  4. Synopsis
  5. location /foo {
  6. inspect_headers on;
  7. inspect_headers_log_violations on;
  8. inspect_headers_log_uninspected on;
  9. inspect_headers_block_violations on;
  10.  
  11. # only allow 3 range definitions in Range header
  12. inspect_headers_range_max_byteranges 3;
  13. }
  14.  
  15. Limitations
  16. Currently only inspects the following headers: Range, If-Range,
  17. If-Unmodified-Since, If-Modified-Since, Date, Accept-Encoding,
  18. Accept-Language, Accept-Charset, Max-Forwards, If-Match
  19.  
  20. Report Bugs
  21. Create a ticket on the issue tracking interface of GitHub:
  22. http://github.com/x-way/ngx_http_header_inspect/issues
  23.  
  24. Source Repository
  25. Available on GitHub:
  26. http://github.com/x-way/ngx_http_header_inspect
  27.  
  28. Author
  29. Andreas Jaggi <andreas.jaggi@waterwave.ch>
  30.  
  31. Copyright & License
  32. Copyright (c) 2011 Andreas Jaggi
  33.  
  34. This module is licensed under the terms of the BSD license.
  35.  
  36. Redistribution and use in source and binary forms, with or without
  37. modification, are permitted provided that the following conditions are
  38. met:
  39.  
  40. * Redistributions of source code must retain the above copyright
  41. notice, this list of conditions and the following disclaimer.
  42.  
  43. * Redistributions in binary form must reproduce the above copyright
  44. notice, this list of conditions and the following disclaimer in the
  45. documentation and/or other materials provided with the distribution.
  46.  
  47. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  48. IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  49. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  50. PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  51. HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  52. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
  53. TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  54. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  55. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  56. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  57. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.