Commit 2ce1563e authored by intrigeri's avatar intrigeri

Use FilesMatch, instead of LocationMatch (that is not allowed in .htaccess).

And then, match on the IDFs' and UDFs' filename instead of a directory location.
parent f9da4f7f
Pipeline #1349559 skipped
......@@ -926,8 +926,8 @@ RewriteRule ^todo/think_about_tordate_htpdate_changes https://labs.riseup.net/co
RewriteRule ^todo/include_arm https://labs.riseup.net/code/issues/5884 [R]
RewriteRule ^todo/add_virtualbox_host_software https://labs.riseup.net/code/issues/5606 [R]
<LocationMatch "^/(install|upgrade)/v\d+/">
<FilesMatch "^(latest|upgrade)\.yml(\.pgp)?$">
ExpiresActive On
ExpiresDefault "access plus 2 hours"
Header append Cache-Control must-revalidate
</LocationMatch>
</FilesMatch>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment