Nginx 与 OpenResty 的关系
Commands
## following commands takes effect in Apple Silicon machine.
# installation
$ brew install nginx
# test if the config file is correct
$ nginx -t
# check nginx version and config file location
$ nginx -V
# reload config and not stop nginx
$ nginx -s reload
- configuration location:
/opt/homebrew/etc/nginx