404 handler

This commit is contained in:
2016-09-02 23:47:31 +02:00
parent 62ecacd2cd
commit f201d0f9ad
3 changed files with 10 additions and 1 deletions

View File

@@ -3,6 +3,12 @@ server_name metanohi.name www.metanohi.name;
root /var/www/metanohi.name/web-serve;
index index.html;
error_page 404 /404.html
location /404 {
internal;
}
location ~ \.html$ {
internal;
}