Browse Source

Custom 404

main
Victor Roest 2 years ago
parent
commit
e0e6a6ced2
Signed by: 0x76 GPG Key ID: A3923C699D1A3BDA
  1. 2
      Dockerfile
  2. 2
      config.yml

2
Dockerfile

@ -10,5 +10,7 @@ COPY . .
RUN /bin/hugo -D
FROM nginxinc/nginx-unprivileged:mainline-alpine
# Point 404 to 404.html
RUN sed -i 's/#error_page/error_page/g' /etc/nginx/conf.d/default.conf
COPY --from=builder /build/public /usr/share/nginx/html
EXPOSE 8080

2
config.yml

@ -16,7 +16,7 @@ params:
Title: "Xirion.net Blog"
content: >
Welcome to my blog! This is where you can find posts about various tech related things.
It will probably mostly consist of anything from my internal docs I though was worth making public.
It will probably mostly consist of anything from my internal docs I thought was worth making public.
You can expect anything related to my homelab, be it hypervisors, kubernetes or networking.
taxonomies:

Loading…
Cancel
Save