Merge pull request #1640 from aledbf/update-nginx
Update nginx to 0.28 and enable brotli
This commit is contained in:
commit
21cb993874
2 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -49,7 +49,7 @@ IMAGE = $(REGISTRY)/$(IMGNAME)
|
|||
MULTI_ARCH_IMG = $(IMAGE)-$(ARCH)
|
||||
|
||||
# Set default base image dynamically for each arch
|
||||
BASEIMAGE?=quay.io/kubernetes-ingress-controller/nginx-slim-$(ARCH):0.27
|
||||
BASEIMAGE?=quay.io/kubernetes-ingress-controller/nginx-slim-$(ARCH):0.28
|
||||
|
||||
ifeq ($(ARCH),arm)
|
||||
QEMUARCH=arm
|
||||
|
|
|
@ -114,9 +114,9 @@ http {
|
|||
default_type text/html;
|
||||
|
||||
{{ if $cfg.UseBrotli }}
|
||||
# brotli on;
|
||||
# brotli_comp_level {{ $cfg.BrotliLevel }};
|
||||
# brotli_types {{ $cfg.BrotliTypes }};
|
||||
brotli on;
|
||||
brotli_comp_level {{ $cfg.BrotliLevel }};
|
||||
brotli_types {{ $cfg.BrotliTypes }};
|
||||
{{ end }}
|
||||
|
||||
{{ if $cfg.UseGzip }}
|
||||
|
|
Loading…
Reference in a new issue