diff options
author | Shav Kinderlehrer <[email protected]> | 2024-05-01 12:32:28 -0400 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2024-05-01 12:32:28 -0400 |
commit | a4cfb64155c7505f32fed0a579d41101e544fa7c (patch) | |
tree | 98e3d76fb06b8e71c545c4a17c6a4c4e9f61f4df /README.md | |
parent | 84f5f57adea7f28e2f445f088779fa78ecfb1733 (diff) | |
download | chela-a4cfb64155c7505f32fed0a579d41101e544fa7c.tar.gz chela-a4cfb64155c7505f32fed0a579d41101e544fa7c.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; |