-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoppio-example.properties
79 lines (59 loc) · 2.33 KB
/
doppio-example.properties
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Copyright (C) 2020 Bill Havanki
#
# This file is part of Doppio.
#
# Doppio is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Example properties file for Doppio
# The root directory for static files.
root=/var/gemini
# The host for the server, which must match the one used for the
# server certificate. (required)
host=gemini.example.com
# The server port.
port=1965
# The control port. Set to -1 to disable.
controlPort=31965
# The timeout, in seconds, to wait for the server to complete work before it
# shuts down.
shutdownTimeoutSec=5
# The number of server threads.
numThreads=4
# The CGI directory for scripts.
cgiDir=/var/gemini/cgi-bin
# The maximum number of local CGI redirects to permit.
maxLocalRedirects=10
# Whether to force text in response bodies to use canonical (DOS) line endings.
forceCanonicalText=false
# Suffixes for resources (files) with content type text/gemini.
textGeminiSuffixes=.gmi,.gemini
# The default content type for a resource, when detection fails.
defaultContentType=text/plain
# Whether to enable charset detection for static text resources.
enableCharsetDetection=false
# The default charset for text resources, when detection fails.
defaultCharset=UTF-8
# The server favicon.
favicon=☕️
# Pages that should have Atom feeds generated for them.
feedPages=gemlog.gmi,mygemlog/index.gmi
# The log directory for the access log.
logDir=/var/log/doppio
# Secure domains where authentication is required.
secureDomain.0=/var/gemini/secure:/etc/doppio/truststore.jks:doppio
secureDomain.1=/var/gemini/secure2:/etc/doppio/truststore2.jks:doppio
# The keystore containing the server's private key. If not specified, a
# short-lived key is generated.
keystore=/etc/doppio/keystore.jks
# The password for the keystore.
keystorePassword=doppio