diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2011-02-16 15:47:34 -0500 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2011-02-16 15:47:34 -0500 |
| commit | b9775807698f00b5fd4fcce0530bbe2de879580c (patch) | |
| tree | 9eb22bf56ade927155221b9857085afd4f5841af | |
| parent | c8f80c85201718d3be4472202c66485065947118 (diff) | |
added 502 error page
| -rw-r--r-- | conf/nginx.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf index 30e083e..4b2f403 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -28,9 +28,14 @@ http { server { listen 80; + error_page 502 = /static/error/502.html; server_name .dump.fm; client_max_body_size 15m; + location /502test { + return 502; + } + location ~* /(avatars|images)/ { if (!-f $request_filename) { rewrite ^(.*)$ http://dumpfm.s3.amazonaws.com$1; |
