config.defaults 2.33 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
20
sql_debug = 0
max_sessions_per_user = 8
login_timeout = 7200
persistent_cookie_timeout = 2592000
max_filesize_uncompressed = 8388608
disable_http_login = 1
21
aur_location = https://aur.archlinux.org
22
git_clone_uri_anon = https://aur.archlinux.org/%s.git
23
git_clone_uri_priv = ssh://aur@aur.archlinux.org/%s.git
24
max_rpc_results = 5000
25
max_depends = 1000
26
27
aur_request_ml = aur-requests@archlinux.org
request_idle_time = 1209600
28
request_archive_time = 15552000
29
auto_orphan_age = 15552000
30
auto_delete_age = 86400
31
source_file_uri =  https://aur.archlinux.org/cgit/aur.git/tree/%s?h=%s
32
log_uri = https://aur.archlinux.org/cgit/aur.git/log/?h=%s
33
commit_uri = https://aur.archlinux.org/cgit/aur.git/commit/?h=%s&id=%s
34
snapshot_uri = /cgit/aur.git/snapshot/%s.tar.gz
Lukas Fleischer's avatar
Lukas Fleischer committed
35
enable-maintenance = 1
36
maintenance-exceptions = 127.0.0.1
37
render-comment-cmd = /usr/local/bin/aurweb-rendercomment
38
39
40
# memcache or apc
cache = none
memcache_servers = 127.0.0.1:11211
41

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

46
[notifications]
47
notify-cmd = /usr/local/bin/aurweb-notify
48
49
50
51
sendmail = /usr/bin/sendmail
sender = notify@aur.archlinux.org
reply-to = noreply@aur.archlinux.org

52
53
54
55
56
[fingerprints]
Ed25519 = SHA256:HQ03dn6EasJHNDlt51KpQpFkT3yBX83x7BoIkA1iv2k
ECDSA = SHA256:L71Q91yHwmHPYYkJMDgj0xmUuw16qFOhJbBr1mzsiOI
RSA = SHA256:Ju+yWiMb/2O+gKQ9RJCDqvRg7l+Q95KFAeqM5sr6l2s

57
[auth]
Lukas Fleischer's avatar
Lukas Fleischer committed
58
valid-keytypes = ssh-rsa ssh-dss ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 ssh-ed25519
59
username-regex = [a-zA-Z0-9]+[.\-_]?[a-zA-Z0-9]+$
60
git-serve-cmd = /usr/local/bin/aurweb-git-serve
61
ssh-options = restrict
62
63

[serve]
64
repo-path = /srv/http/aurweb/aur.git/
65
66
repo-regex = [a-z0-9][a-z0-9.+_-]*$
git-shell-cmd = /usr/bin/git-shell
67
git-update-cmd = /usr/local/bin/aurweb-git-update
68
ssh-cmdline = ssh aur@aur.archlinux.org
Lukas Fleischer's avatar
Lukas Fleischer committed
69

70
71
72
[update]
max-blob-size = 256000

Lukas Fleischer's avatar
Lukas Fleischer committed
73
[aurblup]
Lukas Fleischer's avatar
Lukas Fleischer committed
74
db-path = /srv/http/aurweb/aurblup/
Lukas Fleischer's avatar
Lukas Fleischer committed
75
sync-dbs = core extra community multilib testing community-testing
76
server = ftp://mirrors.kernel.org/archlinux/%s/os/x86_64
77
78
79
80

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