added initial default config for caddy
This commit is contained in:
parent
7107d3a773
commit
e13487e3fd
42
states/caddy/defaults.yaml
Normal file
42
states/caddy/defaults.yaml
Normal file
@ -0,0 +1,42 @@
|
||||
---
|
||||
---
|
||||
apps:
|
||||
http:
|
||||
servers:
|
||||
www-http:
|
||||
automatic_https:
|
||||
disable: true
|
||||
listen:
|
||||
- ":8080"
|
||||
routes:
|
||||
- match:
|
||||
- path:
|
||||
- "/"
|
||||
host:
|
||||
- www.paulbsd.com
|
||||
- paulbsd.com
|
||||
handle:
|
||||
- handler: static_response
|
||||
status_code: '301'
|
||||
headers:
|
||||
Location:
|
||||
- http://localhost:4443
|
||||
www-https:
|
||||
automatic_https:
|
||||
disable: true
|
||||
listen:
|
||||
- ":4443"
|
||||
routes:
|
||||
- match:
|
||||
- path:
|
||||
- "/*"
|
||||
host:
|
||||
- www.paulbsd.com
|
||||
- paulbsd.com
|
||||
handle:
|
||||
- handler: reverse_proxy
|
||||
upstreams:
|
||||
- dial: sys01.paulbsd.com:443
|
||||
transport:
|
||||
protocol: http
|
||||
tls: {}
|
Loading…
Reference in New Issue
Block a user