-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php.sample
41 lines (34 loc) · 1.35 KB
/
config.php.sample
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
<?php
/*
* Set the location of your certificate file. All other settings are optional.
*
*
* This is your certificate file. A self-signed certificate is acceptable here.
* You can generate one using:
*
* openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
*
* Then combine the key and certificate and copy them to the certs directory:
*
* cp cert.pem certs/yourdomain.com.pem
* cat key.pem >> certs/yourdomain.com.pem
* Enter the passphrase (if you used one) below.
*
*/
$config['certificate_file'] = '';
$config['certificate_passphrase'] = '';
// IP address to listen to (leave commented out to listen on all interfaces)
//$config['ip'] = "127.0.0.1";
// Port to listen on (1965 is the default)
//$config['port'] = "1965";
// This is the location files are served from
// The path is constructed based on the hostname in the client request
// i.e. gemini://domain1.com/file1 is retrieved from hosts/domain1.com/file1
//$config['data_dir'] = "hosts/";
//$config['default_host_dir'] = "default/";
// Default index file. If a path isn't specified then the server will
// default to an index file (like index.html on a web server).
//$config['default_index_file'] = "index.gmi";
// Logging, setting this to false will disable logging (default is on/true);
//$config['logging'] = true;
//$config['log_file'] = "logs/gemini-php.log";