ngx_slowfs_cache is a module which allows caching of static files
(served using “root” directive). This enables one to create
fast caches for files stored on slow filesystems, for example:
storage: network disks, cache: local disks,
storage: 7,2K SATA drives, cache: 15K SAS drives in RAID0.
I’d like add your new module to FreeBSD ports tree for www/nginx and
www/nginx-devel ports. It looks like your module can’t be build with
latest
stable version 0.7.64, but builts successfully with development version
0.8.30.
Here is compile log with 0.7.64.
cc -c -O2 -pipe -fno-strict-aliasing -I /usr/local/include
-D_LARGEFILE_SOURCE -DBUILDING_NGINX -I src/core -I src/event -I
src/event/modules -I src/os/unix -I
/usr/home/osa/ports/www/nginx/work/nginx_http_push_module-0.69/src -I
objs -I src/http -I src/http/modules -I
/usr/home/osa/ports/www/nginx/work/ngx_supervisord-1.2 -I src/mail -o
objs/addon/ngx_slowfs_cache-1.0/ngx_http_slowfs_module.o
/usr/home/osa/ports/www/nginx/work/ngx_slowfs_cache-1.0/ngx_http_slowfs_module.c
/usr/home/osa/ports/www/nginx/work/ngx_slowfs_cache-1.0/ngx_http_slowfs_module.c:
In function ‘ngx_http_slowfs_static_send’:
/usr/home/osa/ports/www/nginx/work/ngx_slowfs_cache-1.0/ngx_http_slowfs_module.c:227:
error: ‘ngx_open_file_info_t’ has no member named ‘read_ahead’
/usr/home/osa/ports/www/nginx/work/ngx_slowfs_cache-1.0/ngx_http_slowfs_module.c:227:
error: ‘ngx_http_core_loc_conf_t’ has no member named ‘read_ahead’
*** Error code 1
Anyway, thank you for your new module!
On Mon, Dec 21, 2009 at 11:36:09PM +0100, Piotr S. wrote:
I’d like add your new module to FreeBSD ports tree for www/nginx and
www/nginx-devel ports. It looks like your module can’t be build with
latest
stable version 0.7.64, but builts successfully with development version
0.8.30.
Here is compile log with 0.7.64.
Compatibility with 0.7.x line is the thing I always forget about!
Thanks for the report! I’ll look into this in a moment.
On Tue, Dec 22, 2009 at 3:50 AM, Sergey A. Osokin [email protected]
wrote:
Version 1.1 support committed (added for www/nginx and updated for
www/nginx-devel).
Hello,
I was wondering if you had added fastcgi.conf from 0.8.30/conf/ folder
to the www/nginx-devel port yet. I installed it on two different
boxes recently and I had to create the file myself, which is trivial,
but we are recommending new configurations to use this file so it
would be great if it was there :D.