diff options
author | FChannel <> | 2021-06-30 02:45:13 -0700 |
---|---|---|
committer | FChannel <> | 2021-06-30 02:45:13 -0700 |
commit | 0f7e3a6cf9ef67f7c0f8472925dcd24602224e4c (patch) | |
tree | d03a05c12da5bb87f3f07d93e964325694faf44f | |
parent | d8ec39ca028dfed3e2c1ba0193c6fde977ae22b5 (diff) |
added instance index in config as opt in to be more user friedly
-rw-r--r-- | config-init | 15 |
1 files 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 |