Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / msb / components / msb-eag / resources / config / nginx / msbhttps.conf
1 {{/*
2 #
3 # Copyright (C) 2017-2018 ZTE, Inc. and others. All rights reserved. (ZTE)
4 # Copyright © 2021 Orange
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #         http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18 */}}
19 server {
20   listen 443 ssl;
21   ssl_certificate {{ .Values.certInitializer.credsPath }}/certs/cert.crt;
22   ssl_certificate_key {{ .Values.certInitializer.credsPath }}/certs/cert.key;
23   ssl_protocols TLSv1.1 TLSv1.2;
24   ssl_dhparam ../ssl/dh-pubkey/dhparams.pem;
25   include ../msb-enabled/location-default/msblocations.conf;
26   # Add below settings for making SDC to work
27   underscores_in_headers on;
28 }