Skip to content

Commit

Permalink
docs: fix access control page header, text tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed May 18, 2021
1 parent cae2c24 commit 234ee07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/manual/access-control.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ The following blocks access to all URLs older than 1 year, 2 months, 3 weeks and
Any combination of years, months, weeks and days can be used (as long as at least one is provided) for the ``newer`` or ``older`` embargo settings.


Access Control Settings
=======================

Access Control Files (.aclj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
4 changes: 2 additions & 2 deletions docs/manual/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,9 @@ Configuring Access Control Header

The :ref:`access-control` system allows users to be granted different access settings based on the value of an ACL header, ``X-pywb-ACL-user``.

The header can be set by Nginx or Apache to grant custom access priviliges based on the IP address, auth settings, or a combination of rules.
The header can be set via Nginx or Apache to grant custom access priviliges based on IP address, password, or other combination of rules.

For example, to set the value of the header to ``staff`` if the IP of the request is from designated local IP ranges (127.0.0.1, 192.168.1.0/24), the following can be added to the configs.
For example, to set the value of the header to ``staff`` if the IP of the request is from designated local IP ranges (127.0.0.1, 192.168.1.0/24), the following settings can be added to the configs:

For Nginx::

Expand Down

0 comments on commit 234ee07

Please sign in to comment.