Closed denji closed 8 years ago
Any chance we could add the "spdy" module as well to the list?
@ToastShaman the spdy modue is already supported. You can compile with the --with-spdy flag like this:
brew install nginx-full --with-spdy
A full list of modules we currently support are at http://brew.sh/homebrew-nginx/
Successful install with no error:
$ brew install nginx-full --with-echo-moudle
But it has no echo-moudle:
$ nginx
nginx: [emerg] unknown directive "echo" in /usr/local/etc/nginx/nginx.conf:52
$ nginx -V
nginx version: nginx/1.6.0
built by clang 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
TLS SNI support enabled
configure arguments: --prefix=/usr/local/Cellar/nginx-full/1.6.0 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.6.0/bin/nginx --with-cc-opt=-I/usr/local/include --with-ld-opt=-L/usr/local/lib --conf-path=/usr/local/etc/nginx/nginx.conf --pid-path=/usr/local/var/run/nginx.pid --lock-path=/usr/local/var/run/nginx.lock --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log
@hilojack It may be a typo but you have --with-echo-moudle and not --with-echo-module. I ran this locally and the echo module was successfully installed and display in the configure command.
What a stupid question I made. Many thanks for your help :+1:
Ssl tack should be prioritized, considering the NSA revelations.
Any chance we could add UnZip?
Thanks, that was super quick! Just tried a quick update / reinstall on 10.10 and received the following. Am I missing something? I've used homebrew for ages but just recently tapped this repo.
macbook:~ mm$ brew reinstall nginx-full --with-debugn --with-subs-filter-modulen --with-subn --with-echo-modulen --with-addition --with-spdy --with-redis2-module --with-xslt --with-accept-language-module --with-consistent-hash-module --with-gzip-static --with-fancyindex-module --with-php-session-module --with-push-stream-module --with-unzip-module
==> Reinstalling nginx-full with --with-debug, --with-subs-filter-module, --with-sub, --with-echo-module, --with-addition, --with-spdy, --with-redis2-module, --with-xslt, --with-accept-lan
==> Downloading http://nginx.org/download/nginx-1.6.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/nginx-full-1.6.2.tar.gz
==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.6.2 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.6.2/bin/nginx --with-cc-opt=-I/usr/loc
==> make
^
1 error generated.
make[1]: *** [objs/addon/unzip-nginx-module/ngx_http_unzip_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2
$ brew install nginx-full --with-unzip-module --verbose
.....
In file included from /usr/local/share/unzip-nginx-module/ngx_http_unzip_module.c:35:
/usr/local/include/zip.h:53:10: fatal error: 'zipconf.h' file not found
#include <zipconf.h>
^
1 error generated.
make[1]: *** [objs/addon/unzip-nginx-module/ngx_http_unzip_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2
$ find /usr/local -iname 'zipconf.h'
/usr/local/Cellar/libzip/0.11.2/lib/libzip/include/zipconf.h
@milaney Temporary fix errors:
ln -vs /usr/local/opt/libzip/lib/libzip/include/zipconf.h /usr/local/include
brew install nginx-full --with-unzip-module -v
^ Try adding a CFLAG
to that directory in the formula, before the ./configure
step. That should do the trick.
ENV.append_to_cflags "-I#{Formula["libzip"].opt_prefix}/lib/libzip/include"
@DomT4 Thanks, that worked!
@laike9m HttpRedis2 Module already supported, pull request are welcome
HttpRedis2 is different from HttpRedis, in many ways...
@laike9m Homebrew/homebrew-nginx@c5a854a
Great! But I think it's better to call it httpredis rather than redis.
I'm having trouble getting cjson (http://www.kyne.com.au/~mark/software/lua-cjson-manual.html#_make) to work correctly when I build it with luarocks or manually. Can we add an option for this in the install? Or is there another way I should be compiling this outside of homebrew?
I get: dlopen(/usr/local/lib/lua/5.1/cjson.so, 6): Symbol not found: _luaL_setfuncs
I've actually figured out how to install cjson manually if anyone is curious: Install luajit: brew install luajit
Download cjson from here: http://www.kyne.com.au/%7Emark/software/lua-cjson.php
Open the Makefile and change: LUA_INCLUDE_DIR = $(PREFIX)/include/ to LUA_INCLUDE_DIR = $(PREFIX)/include/luajit-2.0
Run: make install
You will get some warnings but it seems to work fine for me. I saw these warnings when building against non jit lua as well.
please add ngx_http_accounting_module (https://github.com/Lax/ngx_http_accounting_module) https://github.com/Mirocow/homebrew-nginx/blob/master/Formula/http-accounting-nginx-module.rb
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
List modules / www.nginx.com/resources/wiki/modules/
When you are finished working on one of the queries, add the commit message tag
#49
strftime
formatted time to a nginx conf variableContent-Type
output header depending on an extension variablengx_drizzle
and others to JSONWe need a patch