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; }