This repository has been archived by the owner on Sep 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-sample.php
61 lines (50 loc) · 1.97 KB
/
config-sample.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/*
This is the sample config file. It's intended to stay outside all of the environment folders, like grp_portal.
You'll probably have to change these. Please don't make your server environment 'S1'.
*/
# Environment values.
# "nsslog" can be true or false to indicate NSS being enabled.
# Server type can be 'dev' or 'prod'. Environment can be one letter and then one number, like 'J2' or 'T1'.
$grp_config_server_nsslog = true;
$grp_config_server_type = 'dev';
$grp_config_server_env = 'S1';
# Password salt. Set this to false if you want it to be unique.
$grp_config_server_salt = 'zvHy85=EZLaw8?5ct!Ov9YEiP(Gi)itI';
# If NSS is enabled, then these can be the allowed keys.
$grp_config_server_nss_keys = array(
'NG2fbc438e',
'NG12a68c23',
'NG1729ae0b',
'NG0801fb57'
);
# Database connection info for a MySQL database.
$grp_config_database_server = 'localhost:3306';
$grp_config_database_user = 'root';
$grp_config_database_pw = '[password]';
$grp_config_database_name = 'grape';
# Default protocol for redirects.
$grp_config_default_redir_prot = 'https://';
# Keys; private and public, RSA, raw PEM data.
$grp_config_privkey = <<< END_OF_DATA
-----BEGIN RSA PRIVATE KEY-----
[key]
-----END RSA PRIVATE KEY-----
END_OF_DATA;
$grp_config_pubkey = <<< END_OF_DATA
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuHRkfzhZN8M4OxYOPEHL
/RIIvAOHlGyF+wDzK87aUbWf0W6LIwNf3S5xlGYCLOAh8NPdk/lXKqX/pi0e42ez
zYIfddr7cDUCv4qml4HoQ6kVwv3AqlBXKxTeoyg/kRiaiiNYKkz5sZhp2YGKS8rq
hKutvtsTGatN3yZq+TbAFD53ARw0ldNpy5Og1t+YF49wp6au8tvzVYedlKXRAN7D
IOvPO4SYsZmz430UFgv0jqfAMBqX5JVXqzSAAaJvdF0kN3YRhYIlz7Etf4oCMo66
6AuCwmYe58oMEPgkBLZYayymZ3w4GJEfH/+0SvGHphdzRFz38I4XJb+RAmWLT/OT
0wIDAQAB
-----END PUBLIC KEY-----
END_OF_DATA;
$grp_config_olvkey = '/usr/share/nginx/grape/grplib-php/cert.pem';
$grp_config_olvkey_pass = 'alpine';
# Maximum time allowed per one post to the next in seconds.
$grp_config_max_postbuffertime = 2;
# Same as above, but with replies.
$grp_config_max_replybuffertime = 1;