Add log to Caddyfile

Signed-off-by: René Jochum <rene@jochum.dev>
master v1.2.12
René Jochum 2 years ago
parent 3d2f500751
commit db1b0f5742

@ -1,5 +1,5 @@
# Build public with hugo # Build public with hugo
FROM jojomi/hugo:latest FROM registry.fk.jochum.dev/docker_hub_cache/jojomi/hugo:latest
COPY . /build COPY . /build
@ -8,7 +8,7 @@ WORKDIR /build
RUN hugo -b https://rene.jochum.dev -v -t persona RUN hugo -b https://rene.jochum.dev -v -t persona
# Copy to a nginx container # Copy to a nginx container
FROM caddy:2.5.2-alpine FROM registry.fk.jochum.dev/docker_hub_cache/library/caddy:2.5.2-alpine
LABEL maintainer="René Jochum <rene@jochum.dev>" LABEL maintainer="René Jochum <rene@jochum.dev>"

@ -1,4 +1,6 @@
:80 { :80 {
log
# Set this path to your site's directory. # Set this path to your site's directory.
root * /usr/share/caddy root * /usr/share/caddy

Loading…
Cancel
Save