Skip to content

Commit 56bd383

Browse files
committed
Port changes to nginx.conf from Discourse repo
1 parent 32dc866 commit 56bd383

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

image/base/etc/nginx/conf.d/discourse.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
types {
33
text/csv csv;
44
application/wasm wasm;
5+
font/ttf ttf;
6+
font/otf otf;
57
}
68

79
upstream discourse {
@@ -48,7 +50,7 @@ server {
4850
gzip_vary on;
4951
gzip_min_length 1000;
5052
gzip_comp_level 5;
51-
gzip_types application/json text/css text/javascript application/x-javascript application/javascript image/svg+xml application/wasm;
53+
gzip_types application/json text/css text/javascript application/x-javascript application/javascript image/svg+xml application/wasm font/ttf font/otf;
5254
gzip_proxied any;
5355

5456
server_name _;

0 commit comments

Comments
 (0)