Commits (2)
# Expires map # Expires map
map $sent_http_content_type $expires { map $sent_http_content_type $expires {
default off; default off;
...@@ -14,20 +12,12 @@ ...@@ -14,20 +12,12 @@
listen 80; listen 80;
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
server_name localhost; server_name {{ .Values.rooturl }};
location / { location / {
root /usr/share/nginx/html/nfvportal/openslicehome; root /usr/share/nginx/html/;
index index.html;
}
location ^~/nfvportal/ {
root /usr/share/nginx/html;
index index.html index.htm; index index.html index.htm;
try_files $uri $uri/ /nfvportal/index.html =404; try_files $uri $uri/ /index.html =404;
} }
expires $expires; expires $expires;
gzip on; gzip on;
}