404 config webserver

This commit is contained in:
Paolo Asperti 2024-07-13 18:14:05 +02:00
parent 1956cc7a63
commit 3fa3dc2b87
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

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