made caddy config modular
This commit is contained in:
parent
c930ccc44a
commit
e6409a0a0e
9 changed files with 39 additions and 24 deletions
|
|
@ -8,9 +8,7 @@
|
|||
# this machine's public IP, then replace ":80" below with your
|
||||
# domain name.
|
||||
|
||||
media.roosens.me {
|
||||
reverse_proxy localhost:8096
|
||||
}
|
||||
import *.Caddyfile
|
||||
|
||||
# Refer to the Caddy docs for more information:
|
||||
# https://caddyserver.com/docs/caddyfile
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: reload-caddy
|
||||
- name: caddy-reload
|
||||
service:
|
||||
name: caddy
|
||||
state: reloaded
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: '644'
|
||||
notify: reload-caddy
|
||||
notify: caddy-reload
|
||||
|
||||
- name: Ensure Caddy service is running & enabled
|
||||
service:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue