Skip to content
Snippets Groups Projects
Verified Commit 7ae27c40 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Fix admin docs

parent 770a75a0
No related branches found
No related tags found
1 merge request!365Fix admin docs
Pipeline #3710 passed
......@@ -29,12 +29,15 @@ A configuration file might look like this::
secret_key = "VerySecretKeyForSessionSecurity"
[http]
allowed_hosts = [ "aleksis.myschool.example.com", "localhost" ]
[database]
name = "aleksis"
user = "aleksis"
password = "SuperSecretPassword"
[caching]
memcached = { enabled = true, address = "127.0.0.1" }
The `secret_key` setting above defines a single value. The following `http`
......
......@@ -25,8 +25,10 @@ configuration file. For example, add something like the following to your
configuration (normally in `/etc/aleksis`; you can either append to an
existing file or add a new one)::
[ldap]
uri = "ldaps://ldap.myschool.edu"
bind = { dn = "cn=reader,dc=myschool,dc=edu", password = "secret" }
[ldap.users]
search = { base = "ou=people,dc=myschool,dc=edu", filter = "(uid=%(user)s)" }
map = { first_name = "givenName", last_name = "sn", email = "mail" }
......@@ -32,6 +32,7 @@ Configure AlekSIS to use PostgreSQL
Fill in the configuration under `/etc/aleksis/aleksis.toml` (or a file with any other name in this directory)::
[database]
host = "localhost"
name = "aleksis"
username = "aleksis"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment