From 0f7e3a6cf9ef67f7c0f8472925dcd24602224e4c Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Wed, 30 Jun 2021 02:45:13 -0700 Subject: added instance index in config as opt in to be more user friedly --- config-init | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/config-init b/config-init index c632102..7e66ae0 100644 --- a/config-init +++ b/config-init @@ -1,9 +1,18 @@ instance:fchan.xyz -instancetp:https:// instanceport:3000 instancename:FChan instancesummary:FChan is a federated image board instance. +## For `instancetp` if you plan to support https +## make sure you setup the ssl certs before running the server initially +## do not start with http:// and then switch to https:// +## this will cause issues if switched from on protocol to the other. +## If you do, the database entries will have to be converted to support the change +## this will cause a lot of headaches if switched back and forth. +## Choose which one you are going to support and do not change it for best results. + +instancetp:https:// + dbhost:localhost dbport:5432 dbname:server @@ -17,4 +26,6 @@ emailpass: torproxy: -publicindex:true \ No newline at end of file +## Change to true if you want your instance to be added to the public instance index + +publicindex:false \ No newline at end of file -- cgit v1.2.3