Skip to content
Snippets Groups Projects

Resolve "Update obsolete nginx configuration for image build"

1 file
+ 3
13
Compare changes
  • Side-by-side
  • Inline
+ 3
13
# 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;
}
Loading