3 * Set the location of your certificate file. All other settings are optional.
6 * This is your certificate file. A self-signed certificate is acceptable here.
7 * You can generate one using:
9 * openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
11 * Then combine the key and certificate and copy them to the certs directory:
13 * cp cert.pem certs/yourdomain.com.pem
14 * cat key.pem >> certs/yourdomain.com.pem
16 * Enter the passphrase (if you used one) below.
20 $config['certificate_file'] = '';
21 $config['certificate_passphrase'] = '';
23 // IP address to listen to (leave commented out to listen on all interfaces)
24 //$config['ip'] = "127.0.0.1";
26 // Port to listen on (1965 is the default)
27 //$config['port'] = "1965";
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/";
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";
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";