-
Notifications
You must be signed in to change notification settings - Fork 2
/
example.vhost
50 lines (35 loc) · 1.04 KB
/
example.vhost
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
[internal]
# optional
Owner = "random string for logs"
# optional
Project = "random string for logs"
[[Serve]]
Zones = [ "dest1.zone1.tld", ".wildcadr_subzone.zone2.tld" ]
# optional
Keys = [ "/path/to/privatekey-1", "/path/to/publickey-2", "/path/to/publickey-3" ]
Cert = "/path/to/X509cert"
# optional
Proxied = "http://front.tld/"
# optional
StrictTransportSecurity = "non default HSTS configuration options"
# optional
# Overwrite from backend allowed
XFrameOptions = "non default X-Frame-Options"
# optional
# Overwrite from backend allowed
XContentTypeOptions = "non default X-Content-Type-Options"
# optional
# Overwrite from backend allowed
XDownloadOptions = "non default X-Download-Options"
# optional
XXSSProtection = "non default X-XSS-Protection"
# optional
PublicKeyPins = "non default Public-Key-Pins"
# optional
ContentSecurityPolicy = "non default CSP"
#
# List of 301 redirections
#
[[Redirect]]
To = "destination.zone3.tld"
From = [ "host.zone4.tld", ".wildcard_subhost.zone5.tld" ]