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>
This commit is contained in:
@@ -6,3 +6,7 @@
|
||||
|
||||
# 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=/
|
||||
|
||||
Reference in New Issue
Block a user