aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-09-16 09:58:54 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-09-16 09:26:59 +0000
commit9371d93249e371b002a4529b5568a64237812bf1 (patch)
tree23ad5fd955af102e8310eac42600129df5a29898 /.htaccess
parent32866bc7eefbc33722cbbee7a2550f2ac868da7b (diff)
downloadnextcloud-server-9371d93249e371b002a4529b5568a64237812bf1.tar.gz
nextcloud-server-9371d93249e371b002a4529b5568a64237812bf1.zip
fix(a11y): Add OTF font loading checkbackport/48063/stable30
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess6
1 files changed, 3 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
index f9908fe0b69..1406448db0a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -49,8 +49,8 @@
</Else>
</FilesMatch>
- # Let browsers cache WOFF files for a week
- <FilesMatch "\.woff2?$">
+ # Let browsers cache OTF and WOFF files for a week
+ <FilesMatch "\.(otf|woff2?)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
</IfModule>
@@ -106,7 +106,7 @@
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
</IfModule>
-# Apache disabled the sending of the server-side content-length header
+# Apache disabled the sending of the server-side content-length header
# in their 2.4.59 patch updated which breaks some use-cases in Nextcloud.
# Setting ap_trust_cgilike_cl allows to bring back the usual behaviour.
# See https://bz.apache.org/bugzilla/show_bug.cgi?id=68973