[discourse-web/flathub: 1/3] FIX: Allow fonts to be delivered via CDN (https://github.com/discourse/discourse/commit/f5051ec833e8
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [discourse-web/flathub: 1/3] FIX: Allow fonts to be delivered via CDN (https://github.com/discourse/discourse/commit/f5051ec833e8
- Date: Wed, 7 Oct 2020 10:42:29 +0000 (UTC)
commit bc454c41207b885f5dbfd4f99751e82548c5b225
Author: iposadat <ismael posada trobo cern ch>
Date: Fri Sep 25 08:38:19 2020 +0200
FIX: Allow fonts to be delivered via CDN
(https://github.com/discourse/discourse/commit/f5051ec833e8c071aa48aa9b931f2aa6ea027349)
config/discourse-nginx.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/config/discourse-nginx.conf b/config/discourse-nginx.conf
index 118e4de..4adaae1 100644
--- a/config/discourse-nginx.conf
+++ b/config/discourse-nginx.conf
@@ -89,7 +89,7 @@ server {
break;
}
- location ~* (assets|plugins|uploads)/.*\.(eot|ttf|woff|woff2|ico)$ {
+ location ~* (fonts|assets|plugins|uploads)/.*\.(eot|ttf|woff|woff2|ico)$ {
expires 1y;
add_header Cache-Control public,immutable;
add_header Access-Control-Allow-Origin *;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]