add vhost example
This commit is contained in:
parent
c7207c0f59
commit
b66a872ab4
|
@ -0,0 +1,25 @@
|
|||
tcp:
|
||||
bind:
|
||||
- 80
|
||||
- 443
|
||||
|
||||
tls:
|
||||
modules:
|
||||
- type: acme
|
||||
domains:
|
||||
- '*'
|
||||
email: 'jon@example.com'
|
||||
challenge_type: 'http-01'
|
||||
|
||||
http:
|
||||
trust_proxy: false
|
||||
allow_insecure: false
|
||||
primary_domain: example.com
|
||||
modules:
|
||||
- type: static
|
||||
domains:
|
||||
- '*'
|
||||
root: '/srv/www/:hostname'
|
||||
|
||||
mdns:
|
||||
disabled: true
|
Loading…
Reference in New Issue