-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ini
More file actions
59 lines (47 loc) · 2.67 KB
/
Copy pathconfig.ini
File metadata and controls
59 lines (47 loc) · 2.67 KB
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
; Because configuration customization shouldn't be restricted at all, hereby:
; To the extent possible under law, Tristan and contributors have waived all copyright and related or neighboring rights to this work.
; See https://creativecommons.org/publicdomain/zero/1.0/legalcode
; Information:
; boolean types can be "yes", "no", "true", "false", "0", "1", case-insensitively.
; most strings are case-insensitive, except for file and pathnames (obviously).
; (Required) The port
port=443
; (Optional) The name of the server, as it appears in the 'Server' response header.
; Recommendation: try to comply with RFC 7231 Section 7.4.2 (https://tools.ietf.org/html/rfc7231#section-7.4.2)
server-name=wss
; (To be removed)
headers-strict=true
; (Required) The hostname of the server is what clients probably send the server in form of a 'Host'-header field.
hostname=sub.thewoosh.me
; (Default value: false) The 'Host'-header MUST be the same as the 'hostname' value.
hostname-strict=true
; The origin is NOT the same as the hostname (https://www.rfc-editor.org/rfc/rfc6454)
origin=https://sub.thewoosh.me
; Compression types (they must be supported by your build).
; "compression=" *(compression-value " ")
; compression-value = "gzip" / "br" / "brotli"
; Compression values cannot be in the compression-list twice. This also applies to alternative naming, such as "br" and "brotli".
; Compression values are case-insensitive.
compression=br gzip
; When this is option is removed, it will disappear in the header list. The value of this option will be the value of the header.
strict-transport-security=max-age=63072000\; includeSubDomains\; preload
; When this is option is removed, it will disappear in the header list. The value of this option will be the value of the header. See (https://w3c.github.io/dnt/drafts/tracking-dnt.html)
header-tk=N
; Error Logging (can be useful for debugging)
; Log when a client using HTTP/2 has sent a GOAWAY frame (Default: no)
log-h2-received-goaway=yes
; Log when a TLS error occurs (with the client) (Default: no)
log-tls-errors=yes
; How should we log requests? Modes: 'verbose', 'minimal', 'none'
log-request=minimal
; (Required) Options: "letsencrypt", "manual"
tls-mode=Letsencrypt
; (Required) Minimum protocol version
tls-min-version=TLSv1.2
tls-cipher-list=ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
tls-cipher-suites=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256
; Handler list
handlers=fs.ini
;; OCSP Settings
;ocsp=file
;ocsp-file=/root/servers/web/ocsp-test