From 2c81e24bca2887a8afe4f76ec1f5dd0aa8f4b5c1 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Mon, 20 Jan 2025 10:34:18 +0000 Subject: [PATCH] FIX: Update nginx `types` config (#30868) Add fonts to existing block, and remove unneeded 'include' directive. Followup to 8dbbe53dcc09766f9ce90963326caa96a5f20a03 --- config/nginx.sample.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index 3afda3aa5e6..03401efc228 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -2,6 +2,8 @@ types { text/csv csv; application/wasm wasm; + font/ttf ttf; + font/otf otf; } upstream discourse { @@ -38,12 +40,6 @@ geo $bypass_cache { ::1 1; } -types { - include /etc/nginx/mime.types; - font/ttf ttf; - font/otf otf; -} - server { access_log /var/log/nginx/access.log log_discourse;