From 4def287ce34184d62a57218dc7900995cfb657c0 Mon Sep 17 00:00:00 2001 From: Dimitrios Giannopoulos Date: Mon, 29 Apr 2024 13:08:28 +0000 Subject: [PATCH] feat: latest nginx conf --- nginx-custom.conf | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/nginx-custom.conf b/nginx-custom.conf index 9a3b80c..7e629ef 100644 --- a/nginx-custom.conf +++ b/nginx-custom.conf @@ -1,5 +1,3 @@ - - # Expires map map $sent_http_content_type $expires { default off; @@ -14,20 +12,12 @@ listen 80; include /etc/nginx/mime.types; - server_name localhost; - + server_name {{ .Values.rooturl }}; location / { - root /usr/share/nginx/html/nfvportal/openslicehome; - index index.html; - } - - location ^~/nfvportal/ { - - root /usr/share/nginx/html; + root /usr/share/nginx/html/; index index.html index.htm; - try_files $uri $uri/ /nfvportal/index.html =404; + try_files $uri $uri/ /index.html =404; } expires $expires; gzip on; - } -- GitLab