diff --git a/Makefile b/Makefile index 3dcac846c..314053bf2 100644 --- a/Makefile +++ b/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 diff --git a/rootfs/etc/nginx/template/nginx.tmpl b/rootfs/etc/nginx/template/nginx.tmpl index 7ac74b351..11ac53690 100644 --- a/rootfs/etc/nginx/template/nginx.tmpl +++ b/rootfs/etc/nginx/template/nginx.tmpl @@ -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 }}