nginx+unicorn環境でのタイムアウト設定

nginx
---
    location @unicorn {
      proxy_set_header Host $http_host;
      proxy_pass http://unicorn;
      proxy_connect_timeout   300;
      proxy_send_timeout      300;
      proxy_read_timeout      300;
    }
---
unicorn.rb
---
working_directory "/var/www/vhosts/redmine" 
pid "/var/www/vhosts/redmine/tmp/pids/unicorn.pid" 
stderr_path "/var/www/vhosts/redmine/log/unicorn.log" 
stdout_path "/var/www/vhosts/redmine/log/unicorn.log" 

listen "/tmp/unicorn.sock" 
worker_processes 2
timeout 300
---