Aravinth Manivannan
dd38dd05d1
DESCRIPTION Each deployment should have a default hostname before a custom domain can be assigned. Therefore, this domain must be in control of the Librepages system (Librepages/conductor, namely) SECURITY base_domain must be different from the domains hosting confidential information (authentication systems, PII data, etc.) to make use of browser domain sandboxing safety. If Librepages deployment is open to the public, unaudited, third-party content may be hosted in this domain, so it is very important that this domain shouldn't be used for critical infrastructure dealing with confidential information.
38 lines
1.2 KiB
TOML
38 lines
1.2 KiB
TOML
debug = true
|
|
allow_registration = true
|
|
# source code of your copy of pages server.
|
|
source_code = "https://github.com/realaravinth/pages"
|
|
support_email = "support@librepages.example.org"
|
|
|
|
[server]
|
|
# The port at which you want Pages to listen to
|
|
port = 7000
|
|
#IP address. Enter 0.0.0.0 to listen on all availale addresses
|
|
ip= "0.0.0.0"
|
|
# The number of worker threads that must be spun up by the Pages server.
|
|
# Minimum of two threads are advisable for top async performance but can work
|
|
# with one also.
|
|
workers = 2
|
|
domain = "demo.librepages.org"
|
|
cookie_secret = "94b2b2732626fdb7736229a7c777cb451e6304c147c4549f30"
|
|
|
|
|
|
[page]
|
|
base_path = "/tmp/librepages-defualt-config/"
|
|
base_domain = "librepages.test" # domain where customer pages will be deployed.
|
|
|
|
[database]
|
|
# This section deals with the database location and how to access it
|
|
# Please note that at the moment, we have support for only postgresqa.
|
|
# Example, if you are Batman, your config would be:
|
|
# hostname = "batcave.org"
|
|
# port = "5432"
|
|
# username = "batman"
|
|
# password = "somereallycomplicatedBatmanpassword"
|
|
hostname = "localhost"
|
|
port = "5432"
|
|
username = "postgres"
|
|
password = "password"
|
|
name = "postgres"
|
|
pool = 4
|
|
database_type="postgres" # "postgres"
|