mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
FIX: Update nginx types
config (#30868)
Add fonts to existing block, and remove unneeded 'include' directive. Followup to 8dbbe53dcc09766f9ce90963326caa96a5f20a03
This commit is contained in:
@ -2,6 +2,8 @@
|
|||||||
types {
|
types {
|
||||||
text/csv csv;
|
text/csv csv;
|
||||||
application/wasm wasm;
|
application/wasm wasm;
|
||||||
|
font/ttf ttf;
|
||||||
|
font/otf otf;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream discourse {
|
upstream discourse {
|
||||||
@ -38,12 +40,6 @@ geo $bypass_cache {
|
|||||||
::1 1;
|
::1 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
types {
|
|
||||||
include /etc/nginx/mime.types;
|
|
||||||
font/ttf ttf;
|
|
||||||
font/otf otf;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
||||||
access_log /var/log/nginx/access.log log_discourse;
|
access_log /var/log/nginx/access.log log_discourse;
|
||||||
|
Reference in New Issue
Block a user