summaryrefslogtreecommitdiffstats
path: root/kubernetes/config/docker/init/src/config/dcaegen2/nginx/config/aai-service.onap.org.conf
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/config/docker/init/src/config/dcaegen2/nginx/config/aai-service.onap.org.conf')
-rw-r--r--kubernetes/config/docker/init/src/config/dcaegen2/nginx/config/aai-service.onap.org.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/kubernetes/config/docker/init/src/config/dcaegen2/nginx/config/aai-service.onap.org.conf b/kubernetes/config/docker/init/src/config/dcaegen2/nginx/config/aai-service.onap.org.conf
new file mode 100644
index 0000000000..9cfb221771
--- /dev/null
+++ b/kubernetes/config/docker/init/src/config/dcaegen2/nginx/config/aai-service.onap.org.conf
@@ -0,0 +1,19 @@
+server {
+ listen 8443 ssl;
+ listen [::]:8443 ssl;
+
+ root /var/www/html;
+
+ index index.html index.htm index.nginx-debian.html;
+
+ server_name *.aai.simpledemo.onap.org;
+
+ location / {
+ proxy_pass https://aai-service.onap-aai:8443/;
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-Proto "https";
+ }
+
+ ssl_certificate /etc/certs/aai-service.onap.org.pem;
+ ssl_certificate_key /etc/certs/aai-service.onap.org.key;
+}