denji / homebrew-nginx

:fire_engine: Community NGINX tap for custom modules
https://denji.github.io/homebrew-nginx/
Other
616 stars 197 forks source link

/usr/local/Cellar/nginx/1.19.1/ is missing its /logs directory #381

Closed based2 closed 4 months ago

based2 commented 4 years ago

Indicate troubleshooting steps taken

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

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.