moorefu opened a new issue #1922:
URL: https://github.com/apache/incubator-apisix/issues/1922


   i think we can support defined environment variable in config.yaml like this
   ```
   nginx_config: 
       ...
       environment:
         TNS_ADMIN:
         DATACENTER_ID: 1
   ```
   
   and render the template to genarate nginx.conf like this 
   ```
   ...
   env APISIX_PROFILE;
   env TNS_ADMIN;
   env DATACENTER_ID=1;
   ...
   ```
   it is a useful feature.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to