From 0c237cdff2aa5409c73afdb90ce07ed7d15669cd Mon Sep 17 00:00:00 2001
From: Dimitrios Giannopoulos <dimit.giannopoulos@upnet.gr>
Date: Mon, 29 Apr 2024 13:07:26 +0000
Subject: [PATCH] feat: added latest nginx conf

---
 nginx-custom.conf | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nginx-custom.conf b/nginx-custom.conf
index 3cd4dbf..83307e4 100644
--- a/nginx-custom.conf
+++ b/nginx-custom.conf
@@ -13,11 +13,11 @@
                 listen 80;
                 include /etc/nginx/mime.types;
 
-          server_name  localhost;
-          location ^~/services/ {
-              root /usr/share/nginx/html;
+          server_name  {{ .Values.rooturl }};
+          location / {
+              root /usr/share/nginx/html/services;
               index index.html index.htm;
-              try_files $uri $uri/ /services/index.html =404;
+              try_files $uri $uri/ /index.html =404;
             }
 
           expires $expires;
-- 
GitLab