Skip to content
Snippets Groups Projects
Select Git revision
  • 6ae92fa1e38b113794398bdbdf73fe3024346dad
  • main default protected
  • renovate/lock-file-maintenance
  • demo protected
  • person-select-custom
  • dbp-translation-component
  • icon-set-mapping
  • port-i18next-parser
  • remove-sentry
  • favorites-and-recent-files
  • revert-6c632dc6
  • lit2
  • advertisement
  • wc-part
  • automagic
  • publish
  • wip-cleanup
  • demo-file-handling
18 results

.htaccess.ejs

Blame
  • .htaccess.ejs 493 B
    DirectoryIndex <%- getUrl(name + '.html') %>
    <FilesMatch "^(de|en|)$">
        FallbackResource <%- getUrl(name + '.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"'