mirror of
https://github.com/kou029w/_.git
synced 2025-01-30 22:08:02 +00:00
103 lines
2.2 KiB
INI
103 lines
2.2 KiB
INI
|
[server]
|
||
|
hidden_host =
|
||
|
port = 8080
|
||
|
bind = 0.0.0.0
|
||
|
tls_cert_path =
|
||
|
tls_key_path =
|
||
|
autocert = false
|
||
|
templates_parent_dir = /go
|
||
|
static_parent_dir =
|
||
|
pages_parent_dir = /go
|
||
|
keys_parent_dir = /data
|
||
|
hash_seed =
|
||
|
gopher_port = 0
|
||
|
|
||
|
[database]
|
||
|
type = sqlite3
|
||
|
filename = /data/writefreely.db
|
||
|
username =
|
||
|
password =
|
||
|
database =
|
||
|
host = localhost
|
||
|
port = 3306
|
||
|
tls = false
|
||
|
|
||
|
[app]
|
||
|
site_name = WriteFreely
|
||
|
site_description = A place to write freely.
|
||
|
host = http://localhost:8080
|
||
|
theme = write
|
||
|
editor =
|
||
|
disable_js = false
|
||
|
webfonts = true
|
||
|
landing =
|
||
|
simple_nav = false
|
||
|
wf_modesty = false
|
||
|
chorus = false
|
||
|
forest = false
|
||
|
disable_drafts = false
|
||
|
single_user = true
|
||
|
open_registration = false
|
||
|
open_deletion = false
|
||
|
min_username_len = 3
|
||
|
max_blogs = 1
|
||
|
federation = true
|
||
|
public_stats = false
|
||
|
monetization = false
|
||
|
notes_only = false
|
||
|
private = false
|
||
|
local_timeline = false
|
||
|
user_invites =
|
||
|
default_visibility =
|
||
|
update_checks = false
|
||
|
disable_password_auth = false
|
||
|
|
||
|
[oauth.slack]
|
||
|
client_id =
|
||
|
client_secret =
|
||
|
team_id =
|
||
|
callback_proxy =
|
||
|
callback_proxy_api =
|
||
|
|
||
|
[oauth.writeas]
|
||
|
client_id =
|
||
|
client_secret =
|
||
|
auth_location =
|
||
|
token_location =
|
||
|
inspect_location =
|
||
|
callback_proxy =
|
||
|
callback_proxy_api =
|
||
|
|
||
|
[oauth.gitlab]
|
||
|
client_id =
|
||
|
client_secret =
|
||
|
host =
|
||
|
display_name =
|
||
|
callback_proxy =
|
||
|
callback_proxy_api =
|
||
|
|
||
|
[oauth.gitea]
|
||
|
client_id =
|
||
|
client_secret =
|
||
|
host =
|
||
|
display_name =
|
||
|
callback_proxy =
|
||
|
callback_proxy_api =
|
||
|
|
||
|
[oauth.generic]
|
||
|
client_id =
|
||
|
client_secret =
|
||
|
host =
|
||
|
display_name =
|
||
|
callback_proxy =
|
||
|
callback_proxy_api =
|
||
|
token_endpoint =
|
||
|
inspect_endpoint =
|
||
|
auth_endpoint =
|
||
|
scope =
|
||
|
allow_disconnect = false
|
||
|
map_user_id =
|
||
|
map_username =
|
||
|
map_display_name =
|
||
|
map_email =
|