aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/nginx.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/nginx.rb')
-rw-r--r--Library/Formula/nginx.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index 7be9054ff..064f4882c 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -41,7 +41,9 @@ class Nginx < Formula
end
def install
- args = ["--prefix=#{prefix}", "--with-http_ssl_module", "--with-pcre"]
+ args = ["--prefix=#{prefix}", "--with-http_ssl_module", "--with-pcre",
+ "--conf-path=#{etc}/nginx/nginx.conf", "--pid-path=#{var}/run/nginx.pid",
+ "--lock-path=#{var}/nginx/nginx.lock"]
args << passenger_config_args if ARGV.include? '--with-passenger'
system "./configure", *args