aboutsummaryrefslogtreecommitdiffhomepage
path: root/config.ini
diff options
context:
space:
mode:
authorwinter2024-12-07 23:34:59 +0000
committerwinter2024-12-07 23:34:59 +0000
commit13647d55bd8085a2b3a686b8aad3b28b0faf693a (patch)
tree90e2ec3fbad4320c95d7631908607819bf055073 /config.ini
parenta84232811dadccf7047424f27340a7f9847bedff (diff)
use a config.ini file for basic configuration
Diffstat (limited to 'config.ini')
-rw-r--r--config.ini20
1 files changed, 20 insertions, 0 deletions
diff --git a/config.ini b/config.ini
new file mode 100644
index 0000000..a09203f
--- /dev/null
+++ b/config.ini
@@ -0,0 +1,20 @@
+[instance]
+; hostname (required) and port (optional) should be the values seen from the
+; outside world. this is important if you're using a reverse proxy
+hostname = example.com
+;port = 443
+; whether clients will use https to connect - again, important for reverse
+; proxies that terminate tls (optional, default = true)
+;https = false
+
+[database]
+host = localhost
+port = 5432
+username = wpftest
+password = wpftest
+database = wpftest
+
+[debug]
+; whether to send full tracebacks on internal server errors (optional,
+; default = false)
+;send_tracebacks = true \ No newline at end of file