Skip to content

Commit d643401

Browse files
author
QLeelulu
committed
update config
1 parent 008823f commit d643401

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

Diff for: conf/aproxy.toml

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
###########
2+
# title = "aProxy conf"
3+
###########
4+
5+
listen = ":8098"
6+
7+
###
8+
# aproxy's admin setting web dir
9+
webdir = "/path/to/aproxy/web/static/"
10+
11+
###
12+
# if loginHost is blank, will use current url hots.
13+
# or set to like "http://aproxy.loc"
14+
loginHost = ""
15+
16+
###
17+
# aproxy admin url prefix,
18+
# default is "/-_-aproxy-_-/",
19+
# need end with "/"
20+
aproxyUrlPrefix = "/-_-aproxy-_-/"
21+
22+
auditLogPath = "/data/logs/aproxy-audit.log"
23+
24+
[session]
25+
###
26+
# session cookie domain,
27+
# e.g. abc.com
28+
domain = ""
29+
30+
###
31+
# session cookie name
32+
cookie = "_aproxySID"
33+
34+
###
35+
# session Expiration,
36+
# default is 604800 (7 days)
37+
expiration = 604800
38+
39+
###
40+
# session storage
41+
[session.redis]
42+
addr = "127.0.0.1:6379"
43+
password = ""
44+
db = 0
45+
46+
[db]
47+
[db.mongo]
48+
servers = ["127.0.0.1:27017"]
49+
db = "aproxy"
50+
51+
[backend]
52+
53+
[oauth]
54+
# open oauth login
55+
open = true
56+
# github's oauth config
57+
[oauth.github]
58+
# open github's oauth login
59+
open = true
60+
clientID = "xxx"
61+
clientSecret = "xxxxxx"

0 commit comments

Comments
 (0)