Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions book/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ that looks like the following:
Let's look briefly at how security works and how each part of the configuration
comes into play.

.. versionadded:: 2.4
A new property was added to the firewall configuration, where you can make a restriction, called ``host``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should add a line break after the first word that crosses the 72th character.


How Security Works: Authentication and Authorization
----------------------------------------------------

Expand Down
2 changes: 2 additions & 0 deletions reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ Each part will be explained in the next section.
# Examples:
somename:
pattern: .*
# restrict the firewall for a specific host
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[...] to a specific host

host: admin\.example\.com
request_matcher: some.service.id
access_denied_url: /foo/error403
access_denied_handler: some.service.id
Expand Down