Fix frontend docker
[clamp.git] / 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 758a646..5bcac5c 100644 (file)
@@ -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;