FIX: Update nginx types config (#30868)

Add fonts to existing block, and remove unneeded 'include' directive.

Followup to 8dbbe53dcc09766f9ce90963326caa96a5f20a03
This commit is contained in:
David Taylor 2025-01-20 10:34:18 +00:00 committed by GitHub
parent d0d819e2a3
commit 2c81e24bca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;