Home > other >  MAC installation kong last step and start an error, go!
MAC installation kong last step and start an error, go!

Time:09-23




I find an article about the Internet MAC environment installation kong tutorial, feel more detailed, but at the last kong start starts the time error, is nginx configuration issues, but found a afternoon, find, and I have no problem similar solution, so please help everybody to see! The article links: https://blog.csdn.net/lyking2001/article/details/82799068

CodePudding user response:

Nginx: [emerg] unknown directive "real_ip_header" in/usr/local/kong/nginx - kong. Conf: 73
This is because the compiler openresty, there is no specified - with - http_realip_module, recompile installation:

./configure -- with pcre - jit - with - http_ssl_module - with - http_realip_module - with - http_stub_status_module - with - http_v2_module
The make - j2
Make install//the default installation in/usr/local/bin/openresty
The export PATH=/usr/local/openresty/bin: $PATH

CodePudding user response:

My darling, have a problem or can only depend on oneself ah,,,,,,,