directoryindex: 'index.html'
custom_fragment: |
AddType text/plain .tmpl
- ExpiresActive On
- ExpiresDefault A0
+ <FilesMatch "\.(html|tmpl|js)$">
+ Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform"
+ Header set Pragma "no-cache"
+ </FilesMatch>
+
rewrites:
- comment: 'frontend root rewrite'
rewrite_cond:
- '^(opera_160.png)$ - [L]'
- '.* /404.html [R=404,L]'
- - provider: filesmatch
- path: '\.(html|tmpl|js)$'
- headers:
- - 'set Cache-Control "no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform"'
- - 'set Pragma "no-cache"'
- provider: location
path: '/'