: nply/authelia-fcgi-authz

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
# authelia-fcgi-authz

Small FastCGI authorizer for lighttpd + Authelia.

It intentionally avoids libcurl. It speaks a tiny subset of HTTP directly over either:

- TCP, e.g. `127.0.0.1:9091`
- Unix socket via `AUTHELIA_SOCKET`

This is not a general-purpose HTTP client. It is only for local Authelia endpoints.

## Build

```sh
make
```

## Install

```sh
make install
```

## Runtime environment

```sh
AUTHELIA_AUTHZ_URL=http://127.0.0.1:9091/api/authz/forward-auth
AUTHELIA_USERINFO_URL=http://127.0.0.1:9091/api/user/info
# Optional:
AUTHELIA_SOCKET=/run/authelia/authelia.sock
```

When `AUTHELIA_SOCKET` is set, the URL host is only used for the HTTP `Host` header.