Maybe provide a nginx.conf.template is better. like https://docs.konghq.com/1.4.x/configuration/#custom-nginx-templates
On Fri, Nov 29, 2019 at 9:48 AM liyong <[email protected]> wrote: > Agree. > To support dev mode, add a config item `nginx_config.worker_processes` in > `config.yaml` and its default value is 1. > > On Fri, Nov 29, 2019 at 9:43 AM Ming Wen <[email protected]> wrote: > > > hello, folks, > > > > Apache APISIX is based on Nginx, but we don't want the user to modify > > nginx.conf[1] directly. > > All the configures of Nginx should automatically be generated by YAML > > configure file[2]. > > > > So I think it's better to delete nginx.conf so as not to cause confusion > to > > the user. > > > > [1] > https://github.com/apache/incubator-apisix/blob/master/conf/nginx.conf > > [2] > > > https://github.com/apache/incubator-apisix/blob/master/conf/config.yaml#L57 > > > > Thanks, > > Ming Wen, Apache APISIX > > Twitter: _WenMing > > >
