diff --git a/Dockerfile b/Dockerfile index 3decb67..7232a99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY --link static ./static COPY --link themes ./themes RUN hugo --minify -FROM nginx:1.21.4-alpine +FROM cgr.dev/chainguard/nginx:latest COPY --link --from=builder /src/public /usr/share/nginx/html COPY --link nginx.conf /etc/nginx/conf.d/default.conf diff --git a/nginx.conf b/nginx.conf index 69dbe77..68f0176 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,8 +1,3 @@ -gzip on; -gzip_min_length 256; -gzip_comp_level 5; -gzip_types text/css; - server { listen 80; root /usr/share/nginx/html;