mirror of
https://github.com/discourse/discourse.git
synced 2025-10-04 17:32:34 +08:00
FIX: Update nginx types
config (#30868)
Add fonts to existing block, and remove unneeded 'include' directive.
Followup to 8dbbe53dcc
This commit is contained in:
parent
d0d819e2a3
commit
2c81e24bca
1 changed files with 2 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue