Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[OOF] Service Mesh Compliance for OOF
[oom.git]
/
kubernetes
/
oof
/
components
/
oof-has
/
resources
/
config
/
nginx.conf
diff --git
a/kubernetes/oof/components/oof-has/resources/config/nginx.conf
b/kubernetes/oof/components/oof-has/resources/config/nginx.conf
index
a679016
..
9272e85
100644
(file)
--- a/
kubernetes/oof/components/oof-has/resources/config/nginx.conf
+++ b/
kubernetes/oof/components/oof-has/resources/config/nginx.conf
@@
-11,12
+11,17
@@
http {
server {
server {
+{{ if (include "common.needTLS" .) }}
listen 8091 ssl;
server_name oof;
listen 8091 ssl;
server_name oof;
- ssl_certificate /opt/bitnami/nginx/
ssl/local/
org.onap.oof.crt;
+ ssl_certificate /opt/bitnami/nginx/org.onap.oof.crt;
ssl_certificate_key /opt/bitnami/nginx/ssl/local/org.onap.oof.key;
ssl_certificate_key /opt/bitnami/nginx/ssl/local/org.onap.oof.key;
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
+ ssl_protocols TLSv1 TLSv1.1 TLSv1.2
TLSv1.3
;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_ciphers HIGH:!aNULL:!MD5;
+{{ else }}
+ listen 8091;
+ server_name oof;
+{{ end }}
location / {
include /opt/bitnami/nginx/conf/uwsgi_params;
location / {
include /opt/bitnami/nginx/conf/uwsgi_params;