diff options
| author | Matt Whiteley | 2013-07-18 18:07:32 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-19 10:26:17 -0700 |
| commit | 5032432a7ac9a9f6def24fddd400f4a3ea674661 (patch) | |
| tree | 5fe6e4df7d35e941caa8e1a395605df6b4b7081e /Library | |
| parent | cf66ef7d9743e870629359fba0b01fcca8687abf (diff) | |
| download | homebrew-5032432a7ac9a9f6def24fddd400f4a3ea674661.tar.bz2 | |
nginx: fix log files
* http-log-path is only for the access log
* both http and error log-path options expect a filename not a directory
Closes #21319.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nginx.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb index 4dc808364..d35d4392a 100644 --- a/Library/Formula/nginx.rb +++ b/Library/Formula/nginx.rb @@ -71,7 +71,8 @@ class Nginx < Formula "--http-fastcgi-temp-path=#{var}/run/nginx/fastcgi_temp", "--http-uwsgi-temp-path=#{var}/run/nginx/uwsgi_temp", "--http-scgi-temp-path=#{var}/run/nginx/scgi_temp", - "--http-log-path=#{var}/log/nginx", + "--http-log-path=#{var}/log/nginx/access.log", + "--error-log-path=#{var}/log/nginx/error.log", "--with-http_gzip_static_module" ] |
