config.defaults 2.51 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
32
33
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
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
localedir = /srv/http/aurweb/aur.git/web/locale/
39
40
# memcache or apc
cache = none
41
cache_pkginfo_ttl = 86400
42
memcache_servers = 127.0.0.1:11211
43

44
45
46
; Directory containing aurweb's PHP code, required by aurweb.spawn.
;htmldir = /path/to/web/html

Florian Pritz's avatar
Florian Pritz committed
47
48
49
50
[ratelimit]
request_limit = 4000
window_length = 86400

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

63
64
65
66
67
[fingerprints]
Ed25519 = SHA256:HQ03dn6EasJHNDlt51KpQpFkT3yBX83x7BoIkA1iv2k
ECDSA = SHA256:L71Q91yHwmHPYYkJMDgj0xmUuw16qFOhJbBr1mzsiOI
RSA = SHA256:Ju+yWiMb/2O+gKQ9RJCDqvRg7l+Q95KFAeqM5sr6l2s

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

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

81
82
83
[update]
max-blob-size = 256000

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

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