2 # Copyright 2020 Huawei Technologies Co., Ltd.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
19 # [Server Configurations]
21 # server_address = os.environ.get('LISTEN_IP')
22 server_address = "0.0.0.0"
24 # [SSL Configurations]
26 ssl_protocol = "TLSv1.2"
27 ssl_ciphers = ["TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
28 "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
29 "TLS_ECDHE_RSA_WITH_AES_-p 127.0.0.1:80:8080/tcp256_GCM_SHA384",
30 "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"]
31 ssl_certfilepath = "/usr/app/ssl/server_tls.crt"
32 ssl_keyfilepath = "/usr/app/ssl/server_tls.key"
33 ssl_cacertpath = "/usr/app/ssl/ca.crt"
34 ssl_server_name = os.environ.get('SERVER_NAME', "ealtedge")