aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/nginx.conf.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/nginx.conf.example b/config/nginx.conf.example
index 56e720abb..6bbf6d66c 100644
--- a/config/nginx.conf.example
+++ b/config/nginx.conf.example
@@ -15,6 +15,10 @@ server {
try_files $uri @ruby;
}
+ error_page 500 502 503 504 /500.html;
+ error_page 404 /404.html;
+ error_page 422 /422.html;
+
location /download {
internal;
alias /var/www/alaveteli/alaveteli/cache/zips/development/download;