diff options
| author | Arun Isaac | 2026-08-03 02:03:47 +0100 |
|---|---|---|
| committer | Arun Isaac | 2026-08-04 13:24:53 +0100 |
| commit | 3bf70c5c6d51ecdc9fc3671b483c00cf3a90ceb4 (patch) | |
| tree | 4d6c3f7e88df298898a204cd84b97cdfbdc620e3 /doc/forge.skb | |
| parent | c3b28cdd8d2c80d7845ec011e388f6ff06564254 (diff) | |
| download | guix-forge-3bf70c5c6d51ecdc9fc3671b483c00cf3a90ceb4.tar.gz guix-forge-3bf70c5c6d51ecdc9fc3671b483c00cf3a90ceb4.tar.lz guix-forge-3bf70c5c6d51ecdc9fc3671b483c00cf3a90ceb4.zip | |
nginx: Add Anubis protection.
Diffstat (limited to 'doc/forge.skb')
| -rw-r--r-- | doc/forge.skb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/forge.skb b/doc/forge.skb index 986b7d7..4f184ae 100644 --- a/doc/forge.skb +++ b/doc/forge.skb @@ -418,6 +418,17 @@ cannot be found, nginx will send the list of files in the directory.]) (record-field "try-files" [List of files whose existence is checked in the specified order. nginx will use the first file it finds to process the request.]) + (record-field "anubis?" + [If ,(code [#t]), ,(ref :url +"https://anubis.techaro.lol/docs/admin/configuration/subrequest-auth/" :text +"Anubis subrequest authentication") locations are added to the server +configuration. These are namely a ,(samp "/.within.website/") location and a +,(samp "@redirectToAnubis") location. Locations to be protected by Anubis should +specify ,(code "auth_request /.within.website/x/cmd/anubis/api/check; error_page +401 = @redirectToAnubis;"). To use this feature, ,(code [nginx-service-type]) +must be configured with an nginx compiled with ,(samp +[--with-http_auth_request_module]). The ,(code [nginx-with-auth-request]) +package is provided as a convenience for this purpose.]) (record-field "raw-content" [List of strings or file-like objects to be appended to the server block. Each item is prefixed with indentation and suffixed with a new line. |
