Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
54b38529
Commit
54b38529
authored
Jan 25, 2018
by
Tiago Botelho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rack Attack documentation to reflect the feature being disabled by default
parent
0fd901bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/security/rack_attack.md
doc/security/rack_attack.md
+3
-3
No files found.
doc/security/rack_attack.md
View file @
54b38529
...
@@ -14,8 +14,8 @@ limited to 6 requests per minute. After trying for 6 times, the client will
...
@@ -14,8 +14,8 @@ limited to 6 requests per minute. After trying for 6 times, the client will
have to wait for the next minute to be able to try again.
have to wait for the next minute to be able to try again.
If you installed or upgraded GitLab by following the
[
official guides
](
../install/README.md
)
If you installed or upgraded GitLab by following the
[
official guides
](
../install/README.md
)
this should be
en
abled by default. If your instance is not exposed to any incoming
this should be
dis
abled by default. If your instance is not exposed to any incoming
connections, it is recommended to
disable Rack Attack
.
connections, it is recommended to
leave Rack Attack disabled
.
For more information on how to use these options check out
For more information on how to use these options check out
[
rack-attack README
](
https://github.com/kickstarter/rack-attack/blob/master/README.md
)
.
[
rack-attack README
](
https://github.com/kickstarter/rack-attack/blob/master/README.md
)
.
...
@@ -45,7 +45,7 @@ For more information on how to use these options check out
...
@@ -45,7 +45,7 @@ For more information on how to use these options check out
The following settings can be configured:
The following settings can be configured:
-
`enabled`
: By default this is set to
`
true`
. Set this to
`false`
to dis
able Rack Attack.
-
`enabled`
: By default this is set to
`
false`
. Set this to
`true`
to en
able Rack Attack.
-
`ip_whitelist`
: Whitelist any IPs from being blocked. They must be formatted as strings within a ruby array.
-
`ip_whitelist`
: Whitelist any IPs from being blocked. They must be formatted as strings within a ruby array.
For example,
`["127.0.0.1", "127.0.0.2", "127.0.0.3"]`
.
For example,
`["127.0.0.1", "127.0.0.2", "127.0.0.3"]`
.
-
`maxretry`
: The maximum amount of times a request can be made in the
-
`maxretry`
: The maximum amount of times a request can be made in the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment