Change default configuration to use SSH port 22
[aur.git] / conf / config.proto
blob623d044ac38bc962b942626f19009b0867584344
1 [database]
2 dsn_prefix = mysql
3 host = localhost
4 socket = /var/run/mysqld/mysqld.sock
5 name = AUR
6 user = aur
7 password = aur
9 [options]
10 username_min_len = 3
11 username_max_len = 16
12 passwd_min_len = 4
13 default_lang = en
14 sql_debug = 0
15 max_sessions_per_user = 8
16 login_timeout = 7200
17 persistent_cookie_timeout = 2592000
18 max_filesize_uncompressed = 8388608
19 disable_http_login = 1
20 aur_location = https://aur.archlinux.org
21 cgit_uri = https://aur.archlinux.org/cgit/
22 git_clone_uri_anon = https://aur.archlinux.org/cgit/%s.git/
23 git_clone_uri_priv = ssh+git://aur@aur.archlinux.org/%s.git/
24 max_rpc_results = 5000
25 aur_request_ml = aur-requests@archlinux.org
26 request_idle_time = 1209600
27 auto_orphan_age = 15552000
28 auto_delete_age = 86400
30 [auth]
31 valid-keytypes = ssh-rsa ssh-dss ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 ssh-ed25519
32 username-regex = [a-zA-Z0-9]+[.\-_]?[a-zA-Z0-9]+$
33 git-serve-cmd = /srv/http/aurweb/scripts/git-integration/git-serve.py
34 ssh-options = no-port-forwarding,no-X11-forwarding,no-pty
36 [serve]
37 repo-base = /srv/http/aurweb/repos/
38 repo-regex = [a-z0-9][a-z0-9.+_-]*$
39 template-path =  /srv/http/aurweb/scripts/git-integration/templates/
40 git-update-hook = /srv/http/aurweb/scripts/git-integration/git-update.py
41 git-shell-cmd = /usr/bin/git-shell
42 ssh-cmdline = ssh -p 2222 aur@aur.archlinux.org
44 [aurblup]
45 db-path = /srv/http/aurweb/scripts/aurblup/
46 sync-dbs = core extra community multilib testing community-testing
47 servers = ftp://mirrors.kernel.org/archlinux/%s/os/x86_64