You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2019/11/28 14:59:29 UTC

[GitHub] [incubator-apisix] chnliyong opened a new pull request #917: Feature/config enhanced

chnliyong opened a new pull request #917: Feature/config enhanced
URL: https://github.com/apache/incubator-apisix/pull/917
 
 
   NOTE: Please read the Contributing.md guidelines before submitting your patch:
   
   https://github.com/apache/incubator-apisix/blob/master/Contributing.md#how-to-add-a-new-feature-or-change-an-existing-one
   
   ### Summary
   * Separate nginx's configuration to a single directory from `conf`.
   * Add config item to support `FHS` install directroy structure.
   
   ### Full changelog
   
   1. Separate nginx's configuration to a directory (`conf`  => `conf/nginx`)
   2. Add config item `pidfile`, `temp_directory`, which used to generate `nginx.conf` for pid file and the `*_temp_path` directives(`client_body_temp_path`, `fastcgi_temp_path`, `proxy_temp_path`, `scgi_temp_path`, `uwsgi_temp_path`)
   3. Modify `nginx.conf` for some production recommendation:
   ```
   log path:
   error_log: /var/log/apisix/error.log
   access_log: /var/log/apisix/access.log
   temp_path: /var/lib/apisix/tmp/
   ```
   4. Modify `config_local.lua` and `id.lua` to support place configuration directory under `/etc/apisix`
   5. Modify `bin/apisix` to support `--prefix` and `--config-dir` options for specify nginx's prefix and use `/etc/apisix` as config directory.
   ### Issues resolved
   
   Fix #914 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services