echo-nginx-module
echo-nginx-module copied to clipboard
When I installed it and it didn't work
When i use this command
brew options nginx-full | grep echo
I can see
--with-echo-module
But When i use this command to reload
nginx -s reload
Terminal prompts me
nginx: [emerg] unknown directive 'echo'
@agentzh
@ChinaPhpZyp Are you using the brew documented here?
https://openresty.org/en/download.html
Seems like you are using the wrong nginx executable. You can try using absolute file path to invoke nginx. Please keep in mind, different execution environment may see different PATH environment variable values (like sudo or init scripts).