diff --git a/.travis.yml b/.travis.yml index 98f54ef..0f2533f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,8 +20,7 @@ env: - NGINX=1.9.15 DYNAMIC=1 - NGINX=1.8.1 # Also, the oldest supported version - # TODO: Fails building because it won't find IOV_MAX from header. - #- NGINX=0.7.69 + - NGINX=0.8.55 sudo: false diff --git a/README.rst b/README.rst index 305cef0..5331d09 100644 --- a/README.rst +++ b/README.rst @@ -46,10 +46,8 @@ Then load the module in `/etc/nginx/nginx.conf` using:: Other platforms ~~~~~~~~~~~~~~~ -In most other cases you will need the sources for Nginx_. Any version starting from the 0.7 -series onwards will work. Note that the modules *might* compile with -versions in the 0.6 series by applying ``nginx-0.6-support.patch``, but this -is unsupported (YMMV). +In most other cases you will need the sources for Nginx_. Any version starting +from the 0.8 series should work. In order to use the ``fancyindex_header_`` and ``fancyindex_footer_`` directives you will also need the `ngx_http_addition_module `_ diff --git a/nginx-0.6-support.patch b/nginx-0.6-support.patch deleted file mode 100644 index e79e0b3..0000000 --- a/nginx-0.6-support.patch +++ /dev/null @@ -1,23 +0,0 @@ -=== modified file 'ngx_http_fancyindex_module.c' ---- ngx_http_fancyindex_module.c 2008-09-11 17:55:52 +0000 -+++ ngx_http_fancyindex_module.c 2008-12-10 01:33:43 +0000 -@@ -383,7 +383,7 @@ - entry->mtime = ngx_de_mtime(&dir); - entry->size = ngx_de_size(&dir); - entry->utf_len = (r->utf8) -- ? ngx_utf8_length(entry->name.data, entry->name.len) -+ ? ngx_utf_length(entry->name.data, entry->name.len) - : len; - } - -@@ -478,8 +478,7 @@ - copy = NGX_HTTP_FANCYINDEX_NAME_LEN + 1; - } - -- b->last = ngx_utf8_cpystrn(b->last, entry[i].name.data, -- copy, entry[i].name.len); -+ b->last = ngx_utf_cpystrn(b->last, entry[i].name.data, copy); - last = b->last; - - } else { -