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 2020/07/29 07:56:50 UTC
[GitHub] [incubator-apisix] moorefu opened a new issue #1922: feature : support defined environment variable in config.yaml
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:
users@infra.apache.org
[GitHub] [incubator-apisix] moonming commented on issue #1922: feature : support defined environment variable in config.yaml
Posted by GitBox <gi...@apache.org>.
moonming commented on issue #1922:
URL: https://github.com/apache/incubator-apisix/issues/1922#issuecomment-665437224
sounds good to me, welcome PR
----------------------------------------------------------------
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