Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Update dc.yaml
Browse files Browse the repository at this point in the history
digital plan route
  • Loading branch information
alex-struk committed Mar 7, 2023
1 parent f4f5104 commit 1af0330
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions openshift/templates/react-frontend/dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,20 @@ objects:
Cache-Control "public, max-age=0, must-revalidate"
}
}
handle /digital-plan* {
# for app
root * /opt/app-root/src
file_server
encode gzip
try_files {path} {path}/ /index-digital-plan.html
header / {
# prevent any static html from being cached
Cache-Control "public, max-age=0, must-revalidate"
}
}
log {
output stderr
Expand Down

0 comments on commit 1af0330

Please sign in to comment.