Created
January 10, 2014 15:27
-
-
Save dialtone/8356346 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb | |
index f3f4bce..b1bbcb5 100644 | |
--- a/Library/Formula/nginx.rb | |
+++ b/Library/Formula/nginx.rb | |
@@ -22,6 +22,7 @@ class Nginx < Formula | |
depends_on 'pcre' | |
depends_on 'passenger' => :optional | |
+ depends_on 'geoip' | |
# SPDY needs openssl >= 1.0.1 for NPN; see: | |
# https://tools.ietf.org/agenda/82/slides/tls-3.pdf | |
# http://www.openssl.org/news/changelog.html | |
@@ -62,6 +63,9 @@ class Nginx < Formula | |
"--sbin-path=#{bin}/nginx", | |
"--with-cc-opt=#{cc_opt}", | |
"--with-ld-opt=#{ld_opt}", | |
+ "--with-http_geoip_module", | |
+ "--with-http_realip_module", | |
+ "--with-http_stub_status_module", | |
"--conf-path=#{etc}/nginx/nginx.conf", | |
"--pid-path=#{var}/run/nginx.pid", | |
"--lock-path=#{var}/run/nginx.lock", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment