nginx.conf: remove gzip_types when undef
This commit is contained in:
parent
6689f3025d
commit
fc905b0d7a
1 changed files with 2 additions and 0 deletions
|
@ -74,7 +74,9 @@ http {
|
|||
<% if @gzip_proxied -%>
|
||||
gzip_proxied <%= @gzip_proxied %>;
|
||||
<% end -%>
|
||||
<% if @gzip_types -%>
|
||||
gzip_types <%= @gzip_types.kind_of?(Array) ? @gzip_types.join(' ') : @gzip_types %>;
|
||||
<% end -%>
|
||||
gzip_vary <%= @gzip_vary %>;
|
||||
<% end -%>
|
||||
|
||||
|
|
Loading…
Reference in a new issue