-
Notifications
You must be signed in to change notification settings - Fork 48
/
config.sample.yml
75 lines (63 loc) · 1.75 KB
/
config.sample.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
application_title: Guide on the Side
theme: GuideOnTheSide
language:
app_language: eng
editor_language: en
feedback_link:
enabled: true
default_text: "What did you think of this tutorial?"
database:
datasource: Database/Mysql
host: localhost
login:
password:
database:
lucene:
enabled: false
email:
# smtp (recommended) or php
transport: smtp
send_from:
send_all_feedback_to:
log: false
# only if you chose smtp above
smtp:
host:
port: 587
username:
password:
timeout: 30
# none, ssl, or tls
encryption: tls
# Settings for Universal Analytics accounts
universal_analytics:
enabled: false
account_id: UA-something
# Settings for Classic Google Analytics accounts
# If you're unsure if you're using Classic Google Analytics or Universal
# Analytics, see: https://support.google.com/analytics/answer/4457764?hl=en
google_analytics:
enabled: false
account_id: UA-something
domain_name: your-domain-name.edu
piwik_analytics:
enabled: false
piwik_server: piwik.server.com # Your Piwik server address (no leading http:///https://)
site_id: 99 # Number provided by Piwik
authentication:
# local, shibboleth, or cas
method: local
# only fill these out if you selected shibboleth above
shibboleth:
login_url: https://%HOST%/Shibboleth.sso/Login
logout_url: https://%HOST%/Shibboleth.sso/Logout
login_link_text: Log in via Shibboleth
username_field: Shib-uid
# To make use of CAS, set authentication.method to cas and fill in these values
# The following sample configuration would work if your CAS login url is https://cas.example.com/cas/login
# Enable force_ssl_redirect if your CAS server requires SSL.
cas:
hostname: cas.example.com
port: 443
uri: cas
force_ssl_redirect: false