This issue comes from Apple implementing ARM chips in their somewhat new Macbooks. This issue is especially critical for all web developers working with big corporate projects (such as me) and I think this small symlink is going to help you.
ln -s /opt/homebrew/etc/nginx/nginx.conf /usr/local/etc/nginx/nginx.conf