404 config webserver
This commit is contained in:
parent
1956cc7a63
commit
3fa3dc2b87
@ -12,9 +12,14 @@ server {
|
|||||||
rewrite ^/feed/.*$ /index.xml last;
|
rewrite ^/feed/.*$ /index.xml last;
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /404.html {
|
location ~ ^/it/.* {
|
||||||
internal;
|
error_page 404 /it/404.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ ^/en/.* {
|
||||||
|
error_page 404 /en/404.html;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user