Skip to content

Commit

Permalink
add /assets location to nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwehn42 committed Jan 14, 2025
1 parent 293a60b commit 1f41be0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ server {
add_header Cache-Control "no-store, no-cache, must-revalidate";
}

location /assets {
try_files $uri $uri/ =404;
add_header Cache-Control "public, max-age=3600";
}

location /index.html {
# Application specific feature toggles
add_header Set-Cookie "scrumlr__show-legal-documents=${SCRUMLR_SHOW_LEGAL_DOCUMENTS};Path=/;Max-Age=3600";
Expand Down

0 comments on commit 1f41be0

Please sign in to comment.