From 19b4bdf615f32995da327649a88e8aff00f605ec Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 14 Oct 2018 19:25:47 +0200 Subject: [PATCH] Updated dockerfile to work with new strucure --- Dockerfile | 2 +- nginx.conf | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4d54259..2b2e2c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ FROM nginx -ADD src /usr/share/nginx/html +ADD public /usr/share/nginx/html ADD nginx.conf /etc/nginx/conf.d/default.conf \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index 8265406..e6479f3 100644 --- a/nginx.conf +++ b/nginx.conf @@ -9,7 +9,8 @@ server { index index.html index.htm; } - error_page 500 502 503 504 /50x.html; + error_page 404 /en/404.html; + error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; }