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 2023/01/12 06:45:03 UTC
[GitHub] [apisix] monkeyDluffy6017 commented on issue #7223: bug: invalid number of arguments in "env" directive in /usr/local/apisix/conf/nginx.conf:29
monkeyDluffy6017 commented on issue #7223:
URL: https://github.com/apache/apisix/issues/7223#issuecomment-1379882019
How about use Cert_ID instead like this? @BFergerson
```
ssls:
-
id: 1
cert: |
-----BEGIN CERTIFICATE-----
cert
-----END CERTIFICATE-----
key: |
-----BEGIN PRIVATE KEY-----
key
-----END PRIVATE KEY-----
snis:
- "yourdomain.com"
```
```
upstreams:
-
id: 1
nodes:
"httpbin.org:80": 1
type: roundrobin
scheme: grpcs
tls:
client_cert_id: ${{CERT_ID}}
```
```
export CERT_ID=1
```
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org