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

fix for #6

parent d2aebb6d
No related branches found
No related tags found
1 merge request!6Merging 2024Q2_RC into main, creating 2024Q2 Release
Pipeline #6655 passed
# Expires map # Expires map
map $sent_http_content_type $expires { map $sent_http_content_type $expires {
default off; default off;
text/html epoch; text/html epoch;
text/css max; text/css max;
application/json max; application/json max;
application/javascript max; application/javascript max;
~image/ max; ~image/ max;
} }
server { server {
listen 80; listen 80;
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
server_name {{ .Values.rooturl }}; server_name portal_web;
location / { location / {
root /usr/share/nginx/html/; root /usr/share/nginx/html/;
index index.html index.htm; index index.html index.htm;
try_files $uri $uri/ /index.html =404; try_files $uri $uri/ /index.html =404;
} }
expires $expires; expires $expires;
gzip on; gzip on;
}
\ No newline at end of file
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