Sorry for my last email。

here is content of the pciture
And the comfig.yaml is like below

nginx_config:                     # config for render the template to genarate 
nginx.conf
  error_log: "logs/error.log"
  error_log_level: "warn"         # warn,error
  event:
     worker_connections: 10620
  http:
     access_log: "logs/access.log"
     keepalive_timeout: 60s         # timeout during which a keep-alive client 
connection will stay open on the server side.
     client_header_timeout: 60s     # timeout for reading client request 
header, then 408 (Request Time-out) error is returned to the client
     client_body_timeout: 60s       # timeout for reading client request body, 
then 408 (Request Time-out) error is returned to the client
     send_timeout: 10s              # timeout for transmitting a response to 
the client.then the connection is closed
  server:
     underscores_in_headers: on

发送自 Windows 10 版邮件应用

发件人: Ming Wen
发送时间: 2019年11月13日 23:36
收件人: [email protected]
主题: Re: [DISCUSS] how to allow APISIX config more Nginx-built-in directives

Hi, lilien,
The picture cannot be displayed on my side, please use text in email.

Thanks,
Ming Wen, Apache APISIX
Twitter: _WenMing


<[email protected]> 于2019年11月13日周三 下午6:01写道:

>
>
> Hi guys.
>
> recently I am transfer some of my old Application from pure nginx into
> APISIX, but I meet a some issue about Directives configuration,
>
>    for exmaple: in nginx.conf we have a config
>
>     underscores_in_headers off
>
>
>
>   which allow nginx take underscore in head , while some of our old
> application count on that feature.
>
>
>
>   but after  we transfer it into APISIX in docker, we are not allowed to
> edit nginx.conf mannuly(unless we edit /usr/bin/apisix)
>
>
>
>   I come up with a idea to allow user to make any custumized configration
> with nginx-built-in directives.
>
>
>
>   add a sub field named server into nginx_conf field.
>
>
>
>    Then redener it into nginx.conf with a loop.
>
>
>
> And the comfig.yaml is like below
>
>


Reply via email to