Module comments, update example config
This commit is contained in:
parent
5bcc40d573
commit
d97184cd51
9 changed files with 52 additions and 6 deletions
|
|
@ -12,7 +12,8 @@
|
|||
data_dir = "/dev/shm/blindforge"
|
||||
|
||||
# Client will connect to the Git forge API using this User-Agent.
|
||||
#api_client_user_agent = "Blindforge"
|
||||
# Please edit this with your instance's public address.
|
||||
#api_client_user_agent = "Blindforge (https://git.zoai.re/tuxmain/blindforge)"
|
||||
|
||||
# Client will download at most this number of pages.
|
||||
#api_client_max_page = 32
|
||||
|
|
@ -30,4 +31,25 @@ data_dir = "/dev/shm/blindforge"
|
|||
# Maximum length of an URL for the client. (characters)
|
||||
#api_client_max_url_len = 256
|
||||
|
||||
#origin = "https://blindforge.zoai.re"
|
||||
# Files that are served when showing a directory (separated by colon `:`, in order of decreasing priority)
|
||||
#default_files = "README.md:README.MD:readme.md:README.txt:README.TXT:readme.txt:README:readme"
|
||||
|
||||
# Maximum number of rendered webpages to keep in cache
|
||||
#page_cache_size = 200
|
||||
|
||||
# Maximum number of repository trees to keep in cache
|
||||
#repo_cache_size = 20
|
||||
|
||||
# File extensions that will be served as images (and associated MIME type)
|
||||
#image_extensions = {ani="image/x-icon", apng="image/apng", bmp="image/bmp", cur="image/x-icon", gif="image/gif", ico="image/x-icon", jpeg="image/jpeg", jpg="image/jpeg", jxl="image/jxl", png="image/png", qoi="image/qoi", tif="image/tiff", tiff="image/tiff", webp="image/webp"}
|
||||
|
||||
# File extensions that will be served as videos (and associated MIME type)
|
||||
#video_extensions = {3gp="video/3gp", avi="video/x-msvideo", mkv="application/x-matroska", mp4="video/mp4", mpeg="video/mpeg", ogv="video/ogg", webm="video/webm"}
|
||||
|
||||
# File extensions that will be served as audio (and associated MIME type)
|
||||
#audio_extensions = {aac="audio/aac", flac="audio/flac", m4a="audio/mp4", m4b="audio/mp4", m4p="audio/mp4", m4r="audio/mp4", m4v="audio/mp4", mp3="audio/mp3", oga="audio/ogg", ogg="audio/ogg", opus="audio/opus", spx="audio/x-speex", wav="audio/x-wav", wave="audio/x-wav", wma="audio/x-ms-wma"}
|
||||
|
||||
# Authorized origin for serving inline files (CORS)
|
||||
# You should set your instance's address (e.g. "https://domain.tld")
|
||||
# to prevent people using your server as a CDN.
|
||||
#origin = "*"
|
||||
|
|
|
|||
Loading…
Reference in a new issue