echo-nginx-module icon indicating copy to clipboard operation
echo-nginx-module copied to clipboard

When I installed it and it didn't work

Open ChinaPhpZyp opened this issue 6 years ago • 1 comments

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 avatar Jan 24 '19 02:01 ChinaPhpZyp

@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).

agentzh avatar Feb 03 '19 23:02 agentzh