diff options
Diffstat (limited to 'conf/nginx.conf')
| -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; |
