Fix bug with ignored domain/dir
[gemini-php.git/.git] / config.php.sample
1 <?php
2 /*
3  * Set the location of your certificate file.  All other settings are optional.
4  *
5  *
6  * This is your certificate file.  A self-signed certificate is acceptable here.
7  * You can generate one using:
8  *   
9  *   openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
10  *
11  * Then combine the key and certificate and copy them to the certs directory:
12  *
13  *  cp cert.pem certs/yourdomain.com.pem
14  *  cat key.pem >> certs/yourdomain.com.pem
15
16  * Enter the passphrase (if you used one) below.
17  *
18  */
19
20 $config['certificate_file'] = '';
21 $config['certificate_passphrase'] = '';
22
23 // IP address to listen to (leave commented out to listen on all interfaces)
24 //$config['ip'] = "127.0.0.1";
25
26 // Port to listen on (1965 is the default)
27 //$config['port'] = "1965";
28
29 // This is the location files are served from
30 // The path is constructed based on the hostname in the client request
31 // i.e. gemini://domain1.com/file1 is retrieved from hosts/domain1.com/file1
32 //$config['data_dir'] = "hosts/";
33 //$config['default_host_dir'] = "default/";
34
35 // Default index file.  If a path isn't specified then the server will
36 // default to an index file (like index.html on a web server).
37 //$config['default_index_file'] = "index.gemini";
38
39 // Logging, setting this to false will disable logging (default is on/true);
40 //$config['logging'] = true;
41 //$config['log_file'] = "logs/gemini-php.log";
42
43 ?>