X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Fmain%2Fdocker%2Ffrontend%2Fnginx%2Fnginx.conf;fp=ui-react%2Fnginx%2Fnginx.conf;h=5bcac5cfca84caebe777cd1e2e1cbb8285aade0a;hb=1e86592650fc695615e0fa34c947b32693d03466;hp=758a646e5b727e68c3a896604abcab7b47e91024;hpb=56f5c144cfff229235817feda9baf4036b22156a;p=clamp.git diff --git a/ui-react/nginx/nginx.conf b/src/main/docker/frontend/nginx/nginx.conf similarity index 52% rename from ui-react/nginx/nginx.conf rename to src/main/docker/frontend/nginx/nginx.conf index 758a646e..5bcac5cf 100644 --- a/ui-react/nginx/nginx.conf +++ b/src/main/docker/frontend/nginx/nginx.conf @@ -1,7 +1,13 @@ server { - listen 80; - + listen 443 default ssl; + ssl_protocols TLSv1.2; + ssl_certificate /etc/ssl/clamp.pem; + ssl_certificate_key /etc/ssl/clamp.key; + location /restservices/clds/ { + proxy_pass https://clamp-backend:8443; + } + location / { root /usr/share/nginx/html; index index.html index.htm;