Skip to content

Commit

Permalink
Switch to chainguard nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
abatilo committed Jun 23, 2024
1 parent cfc2661 commit 493ef71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 493ef71

Please sign in to comment.