Files
chanbans/example.env
Alek Ratzloff f0cc2dd1bd http: Add the HTTP_ROOT config option and a function that uses it
HTTP_ROOT is the server's root directory to serve from, in case your
domain uses something else.

This is also added to the HTML templates.

Also added a news.html template for any sitewide news.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2023-08-02 18:31:36 -07:00

13 lines
334 B
Bash

# Thumbnails directory. Defaults to "thumbs"
#THUMBS_DIR=thumbs
# HTML cache directory. Defaults to "cache"
#CACHE_DIR=cache
# Domain name of the server
HTTP_DOMAIN=domain.com
# Root of the HTTP server. Defaults to "/"
# If you host other things on your domain, you may want to update this to be "/bans" or something.
#HTTP_ROOT=/