From 3b7d5454ccb2875fb45a46ea138d1bffec5b7542 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Sun, 7 Apr 2024 20:06:27 -0400 Subject: Add support for Unix sockets and custom alphabet --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 2f24b88..60ba570 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,12 @@ A page that Chela will redirect to when `/` is requested instead of replying wit ##### `CHELA_BEHIND_PROXY` If this variable is set, Chela will use the `X-Real-IP` header as the client IP address rather than the connection address. +##### `CHELA_UNIX_SOCKET` +If you would like Chela to listen for HTTP requests over a Unix socket, set this variable to the socket path that it should use. By default, Chela will listen via a Tcp socket. + +##### `CHELA_ALPHABET` +If this variable is set, Chela will use the characters in `CHELA_ALPHABET` to create IDs for URLs. The default alphabet is `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`. See [here](https://sqids.org/faq#unique) + ### Manually #### Build ```bash -- cgit v1.2.3