diff --git a/docker/rootfs/etc/nginx/http.d/default.conf b/docker/rootfs/etc/nginx/http.d/default.conf index d1c49d7..77eb2be 100644 --- a/docker/rootfs/etc/nginx/http.d/default.conf +++ b/docker/rootfs/etc/nginx/http.d/default.conf @@ -12,9 +12,14 @@ server { rewrite ^/feed/.*$ /index.xml last; } - location = /404.html { - internal; + location ~ ^/it/.* { + error_page 404 /it/404.html; } + + location ~ ^/en/.* { + error_page 404 /en/404.html; + } + } gzip on;