Hi!
I want to change Nginx inside kong OSS. My suggestion is: if I will build nginx with all parameters from
$# /usr/local/openresty/nginx/sbin/nginx -V
and if I will install my new built nginx into /usr/local/openresty/nginx/sbin instead of old nginx, (old nginx will be renamed to nginx.origin)
all should work fine.
So, that suggestion is totally wrong.
kong start didn’t work.
Do anybody something like that? How can I change nginx?
This is the first line in that. Do you have /usr/bin/env and resty command available? And what shell (something else than Bash) are you using? And what OS are you using?
I using bash over Ubuntu 16.04
For testing, in
/usr/local/openresty/nginx/sbin
I made
mv nginx nginx.origin
and after that, I tried to run kong without success. When I moved the file back - kong works fine. But, with my nginx something went wrong.
About my nginx: ~# nginx -V nginx version: nginx/1.12.2
_built by gcc 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) _ built with OpenSSL 1.0.2g 1 Mar 2016 TLS SNI support enabled configure arguments: --prefix=/opt/nginx --with-cc-opt=-O2 --add-module=…/ngx_devel_kit --add-module=…/echo-nginx-module --add-module=…/xss-nginx-module-0.05 --add-module=…/ngx_coolkit-0.2rc3 --add-module=…/set-misc-nginx-module --add-module=…/form-input-nginx-module --add-module=…/encrypted-session-nginx-module --add-module=…/srcache-nginx-module --add-module=…/lua-nginx-module --add-module=…/lua-upstream-nginx-module --add-module=…/headers-more-nginx-module-0.32 --add-module=…/array-var-nginx-module --add-module=…/memc-nginx-module --add-module=…/redis2-nginx-module --add-module=…/ngx_http_redis-0.3.7 --add-module=…/rds-json-nginx-module --add-module=…/rds-csv-nginx-module --with-ld-opt=-Wl,-rpath,/usr/local/openresty/luajit/lib --with-pcre=…/pcre-8.39 --with-pcre-jit --with-http_realip_module --with-http_ssl_module --with-http_stub_status_module --with-http_v2_module