Skip to content
Snippets Groups Projects
Commit d2aebb6d authored by trantzas's avatar trantzas
Browse files

Merge branch '6-update-obsolete-nginx-configuration-for-image-build' into 'develop'

Resolve "Update obsolete nginx configuration for image build"

See merge request !3
parents 3eac76d8 4def287c
No related branches found
No related tags found
2 merge requests!6Merging 2024Q2_RC into main, creating 2024Q2 Release,!3Resolve "Update obsolete nginx configuration for image build"
Pipeline #5852 passed
# 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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment