Add default-type as a configurable for default_type
This commit is contained in:
parent
6048e63daa
commit
f232a264ab
4 changed files with 18 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ http {
|
|||
{{ buildOpentracing $cfg $servers }}
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type text/html;
|
||||
default_type {{ $cfg.DefaultType }};
|
||||
|
||||
{{ if $cfg.EnableBrotli }}
|
||||
brotli on;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue