config.defaults 2.47 KB
Newer Older
1
[database]
2
backend = mysql
3
4
5
6
7
8
9
10
11
host = localhost
socket = /var/run/mysqld/mysqld.sock
name = AUR
user = aur
password = aur

[options]
username_min_len = 3
username_max_len = 16
12
passwd_min_len = 8
13
default_lang = en
Mark Weiman's avatar
Mark Weiman committed
14
default_timezone = UTC
15
16
17
18
19
sql_debug = 0
login_timeout = 7200
persistent_cookie_timeout = 2592000
max_filesize_uncompressed = 8388608
disable_http_login = 1
20
aur_location = https://aur.archlinux.org
21
git_clone_uri_anon = https://aur.archlinux.org/%s.git
22
git_clone_uri_priv = ssh://aur@aur.archlinux.org/%s.git
23
max_rpc_results = 5000
24
max_depends = 1000
25
26
aur_request_ml = aur-requests@archlinux.org
request_idle_time = 1209600
27
request_archive_time = 15552000
28
auto_orphan_age = 15552000
29
auto_delete_age = 86400
30
31
32
source_file_uri = /cgit/aur.git/tree/%s?h=%s
log_uri = /cgit/aur.git/log/?h=%s
commit_uri = /cgit/aur.git/commit/?h=%s&id=%s
33
snapshot_uri = /cgit/aur.git/snapshot/%s.tar.gz
Lukas Fleischer's avatar
Lukas Fleischer committed
34
enable-maintenance = 1
35
maintenance-exceptions = 127.0.0.1
36
render-comment-cmd = /usr/local/bin/aurweb-rendercomment
37
localedir = /srv/http/aurweb/aur.git/web/locale/
38
39
# memcache or apc
cache = none
40
cache_pkginfo_ttl = 86400
41
memcache_servers = 127.0.0.1:11211
42

Florian Pritz's avatar
Florian Pritz committed
43
44
45
46
[ratelimit]
request_limit = 4000
window_length = 86400

47
[notifications]
48
notify-cmd = /usr/local/bin/aurweb-notify
49
50
sendmail =
smtp-server = localhost
51
52
53
54
55
smtp-port = 25
smtp-use-ssl = 0
smtp-use-starttls = 0
smtp-user =
smtp-password =
56
57
58
sender = notify@aur.archlinux.org
reply-to = noreply@aur.archlinux.org

59
60
61
62
63
[fingerprints]
Ed25519 = SHA256:HQ03dn6EasJHNDlt51KpQpFkT3yBX83x7BoIkA1iv2k
ECDSA = SHA256:L71Q91yHwmHPYYkJMDgj0xmUuw16qFOhJbBr1mzsiOI
RSA = SHA256:Ju+yWiMb/2O+gKQ9RJCDqvRg7l+Q95KFAeqM5sr6l2s

64
[auth]
Lukas Fleischer's avatar
Lukas Fleischer committed
65
valid-keytypes = ssh-rsa ssh-dss ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 ssh-ed25519
66
username-regex = [a-zA-Z0-9]+[.\-_]?[a-zA-Z0-9]+$
67
git-serve-cmd = /usr/local/bin/aurweb-git-serve
68
ssh-options = restrict
69

70
71
72
73
74
75
76
77
[sso]
openid_configuration =
client_id =
client_secret =

[fastapi]
session_secret =

78
[serve]
79
repo-path = /srv/http/aurweb/aur.git/
80
81
repo-regex = [a-z0-9][a-z0-9.+_-]*$
git-shell-cmd = /usr/bin/git-shell
82
git-update-cmd = /usr/local/bin/aurweb-git-update
83
ssh-cmdline = ssh aur@aur.archlinux.org
Lukas Fleischer's avatar
Lukas Fleischer committed
84

85
86
87
[update]
max-blob-size = 256000

Lukas Fleischer's avatar
Lukas Fleischer committed
88
[aurblup]
Lukas Fleischer's avatar
Lukas Fleischer committed
89
db-path = /srv/http/aurweb/aurblup/
Lukas Fleischer's avatar
Lukas Fleischer committed
90
sync-dbs = core extra community multilib testing community-testing
91
server = ftp://mirrors.kernel.org/archlinux/%s/os/x86_64
92
93
94
95

[mkpkglists]
packagesfile = /srv/http/aurweb/web/html/packages.gz
pkgbasefile = /srv/http/aurweb/web/html/pkgbase.gz
96
userfile = /srv/http/aurweb/web/html/users.gz