@dbp-topics/signature
Version:
[GitLab Repository](https://gitlab.tugraz.at/dbp/esign/signature) | [npmjs package](https://www.npmjs.com/package/@dbp-topics/signature) | [Unpkg CDN](https://unpkg.com/browse/@dbp-topics/signature/) | [Esign Bundle](https://gitlab.tugraz.at/dbp/esign/dbp
14 lines (12 loc) • 617 B
Plain Text
DirectoryIndex <%- getUrl(name + '.html') %>
# DirectoryIndex <%- getUrl(name + '-maintenance.html') %>
<FilesMatch "^(de|en|)$">
FallbackResource <%- getUrl(name + '.html') %>
# FallbackResource <%- getUrl(name + '-maintenance.html') %>
</FilesMatch>
Header set Cache-Control "must-revalidate, max-age=60"
Header set Content-Security-Policy "<%- CSP %>"
# Apache adds a "-gzip" suffix to the etag when it uses gzip but doesn't
# take that into account when receiving requests.
# See https://bz.apache.org/bugzilla/show_bug.cgi?id=45023
RequestHeader edit "If-None-Match" '^"((.*)-(gzip|br))"$' '"$1", "$2"'