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;