aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2024-05-01 12:32:28 -0400
committerShav Kinderlehrer <[email protected]>2024-05-01 12:32:28 -0400
commita4cfb64155c7505f32fed0a579d41101e544fa7c (patch)
tree98e3d76fb06b8e71c545c4a17c6a4c4e9f61f4df /README.md
parent84f5f57adea7f28e2f445f088779fa78ecfb1733 (diff)
downloadchela-a4cfb64155c7505f32fed0a579d41101e544fa7c.tar.gz
chela-a4cfb64155c7505f32fed0a579d41101e544fa7c.zip
Add CHELA_USES_HTTPS as an optionHEADv1.4.0main
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9ebf79d..861f206 100644
--- a/README.md
+++ b/README.md
@@ -71,6 +71,9 @@ If you would like Chela to listen for HTTP requests over a Unix socket, set this
##### `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) for more information on Sqids alphabets.
+##### `CHELA_USES_HTTPS`
+If this variable is set, Chela will refer to itself as `https://$CHELA_HOST` instead of the default `http://$CHELA_HOST`.
+
### Manually
#### Build
```bash
@@ -94,7 +97,7 @@ If you would prefer to be the only one able to access these pages, then you can
```nginx
server {
- server_name example.com;
+ server_name a.com;
location / {
proxy_pass http://localhost:3000;
@@ -108,7 +111,6 @@ server {
location /tracking {
proxy_pass http://localhost:3000$request_uri;
- proxy_set_header X-Real-IP $remote_addr;
auth_basic 'Restricted';
auth_basic_user_file /path/to/your/.htpasswd;