-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
44 lines (39 loc) · 1.05 KB
/
config.toml
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
# Config boilerplate
bind = ":80"
trusted_domain = "@sports.ru"
# trusted_emails - toml only accessible (no cli option)
trusted_emails = [
]
[session]
secret = "sports.ru"
ttl = "7d"
http_only = true
path = "/"
[proxy]
jenkins_url = "http://jenkins.sports.ru:8080"
disable_url_decode = true
# skip_auth - toml only accessible (no cli option)
# these urls are with gorilla muxer syntax: http://www.gorillatoolkit.org/pkg/mux
skip_auth = [
# from jenkins doc
"/bitbucket-hook{rest:.*}",
"/cli{rest:.*}",
"/git{rest:.*}",
"/jnlpjars{rest:.*}",
"/subversion{rest:.*}",
"/whoami{rest:.*}",
# my extra urls, to avoid checks
"/plugin/jquery-ui{rest:.*}",
"/static/{rest:.*}",
"/plugin/{rest:.*}",
"/adjuncts/{rest:.*}",
"/html5-notifier-plugin/{rest:.*}",
]
[oauth]
client_id = "129830129010-3ap1aqond5nhjrmnpt3pbg5bg1d6lp3i"
secret = ""
callback = "http://jenkins.sports.ru/oauth2callback"
scope = "https://www.googleapis.com/auth/userinfo.profile+https://www.googleapis.com/auth/userinfo.email"
[template_vars]
admin = "[email protected]"