diff options
| author | Gareth Rees <gareth@mysociety.org> | 2014-07-21 15:27:09 +0100 |
|---|---|---|
| committer | Gareth Rees <gareth@mysociety.org> | 2014-07-21 15:27:09 +0100 |
| commit | 1f27ccaa938267f10dc120283f72181c445f2cd6 (patch) | |
| tree | d714314bd10b47d48c5104ed26ec469fa36f2528 /config/nginx.conf.example | |
| parent | ff9be5046c4ad4c8812f7175acbf382ec37209aa (diff) | |
Add error_page to nginx config
Diffstat (limited to 'config/nginx.conf.example')
| -rw-r--r-- | config/nginx.conf.example | 4 |
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; |
