When enabling logs - should be enabled by default!
vi +25 /usr/local/etc/nginx/nginx.conf
configuration fails:
nginx -t
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: [emerg] open() "/usr/local/Cellar/nginx/1.19.1/logs/error.log" failed (2: No such file or directory)
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
manual solution:
cd /usr/local/Cellar/nginx/1.19.1/;
mkdir logs
Brief summary of issue:
The complete command that you issued:
Gist with output of brew doctor:
Link output by brew gist-logs <formula>:
Output of brew config:
Formula Requests:
The quickest way to get a new formula into Homebrew is to file a Pull Request.
We will consider your request but it may be closed if it's something we're not actively planning to work on.
Indicate troubleshooting steps taken
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?sudo chown -R $(whoami) $(brew --prefix)
?Bug reports / build errors:
When enabling logs - should be enabled by default!
vi +25 /usr/local/etc/nginx/nginx.conf
configuration fails:
nginx -t
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok nginx: [emerg] open() "/usr/local/Cellar/nginx/1.19.1/logs/error.log" failed (2: No such file or directory) nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
Brief summary of issue:
The complete command that you issued:
Gist with output of
brew doctor
:Link output by
brew gist-logs <formula>
:Output of
brew config
:Formula Requests:
The quickest way to get a new formula into Homebrew is to file a Pull Request.
We will consider your request but it may be closed if it's something we're not actively planning to work on.