Update Config

Kibi Kelburton
2026-07-26 21:54:32 +00:00
parent 6238b13486
commit 2caa4f0c3b

@@ -111,7 +111,8 @@ This documents provides some explanation of the keys found in config.json
| `websrv` | `open_registration` | `Boolean` | Registration | `true` | This enabled registration with email, otherwise it always requires a invite token | `websrv` | `open_registration` | `Boolean` | Registration | `true` | This enabled registration with email, otherwise it always requires a invite token
| `websrv` | `open_registration_web_toggle` | `Boolean` | Web toggle | `false` | Toggles `websrv.open_registration` behaviour from /admin | `websrv` | `open_registration_web_toggle` | `Boolean` | Web toggle | `false` | Toggles `websrv.open_registration` behaviour from /admin
| `websrv` | `private_society` | `Boolean` | Privacy mode | `false` | Displays a fake 502 Bad Gateway login page and is useful in combo with `websrv.protect_files` | `websrv` | `private_society` | `Boolean` | Privacy mode | `false` | Displays a fake 502 Bad Gateway login page and is useful in combo with `websrv.protect_files`
| `websrv` | `private_society_gate` | `String` | Privacy mode | `""` | Empty default nginx 502 gate `"cloudflare"` will display a real looking cloudflare error page | `websrv` | `private_society_gate` | `String` | Privacy mode | `""` | Empty default nginx 502 gate `"cloudflare"` will display a real looking cloudflare error page, `"custom"` to enable the template
| `websrv` | `private_society_gate_template` | `String` | Privacy mode | `"_gate_template"` | Point to a html file inside views folder
|`websrv` | `public_nsfw` | `Boolean` | Public Mode | `false` | Wether or not guests can see nsfw/nsfl content |`websrv` | `public_nsfw` | `Boolean` | Public Mode | `false` | Wether or not guests can see nsfw/nsfl content
| `websrv` | `default_comment_display_mode` | `Int` | Default comment style | `0` / `1` | Tree Style or Linear Style | `websrv` | `default_comment_display_mode` | `Int` | Default comment style | `0` / `1` | Tree Style or Linear Style