diff --git a/openshift/templates/react-frontend/dc.yaml b/openshift/templates/react-frontend/dc.yaml index d1ea2e22..7e86c660 100644 --- a/openshift/templates/react-frontend/dc.yaml +++ b/openshift/templates/react-frontend/dc.yaml @@ -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