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