directive "real_ip_header" in /usr/local/opt/kong/nginx-kong.conf:73
Opened this issue · 1 comments
Deleted user commented
$ brew install kong
$ kong start
Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:28: nginx configuration is invalid (exit code 1):
nginx: [emerg] unknown directive "real_ip_header" in /usr/local/opt/kong/nginx-kong.conf:73
nginx: configuration file /usr/local/opt/kong/nginx.conf test failed
Run with --v (verbose) or --vv (debug) for more details
thibaultcha commented
Hi,
Our OpenResty Formula is properly compiled with the http_realip_module. Are you sure that you do not have another nginx
binary taking precedence in your $PATH, which isn't the one compiled by our Formula?