diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-10-01 08:14:05 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-10-01 08:14:05 +0000 |
commit | ac6180bcb04d3f7486b87bf1a950e8250c6e27a5 (patch) | |
tree | 5143ef5d9da3628c35ac2e5fe520d9e118abe51d /config/application.rb | |
parent | 9ffabc6d7ed0c71d133a29671b50795fb621522c (diff) | |
parent | 775aa5ba7ce5ef335bcae81bbc2bf8b7b1321303 (diff) | |
download | gitlab-ce-ac6180bcb04d3f7486b87bf1a950e8250c6e27a5.tar.gz |
Merge branch 'rack_attack' of /home/git/repositories/gitlab/gitlabhq
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index f483ccdad17..d85bcab7885 100644 --- a/config/application.rb +++ b/config/application.rb @@ -77,5 +77,8 @@ module Gitlab # 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" # # config.relative_url_root = "/gitlab" + + # Uncomment to enable rack attack middleware + # config.middleware.use Rack::Attack end end |