made caddy config modular
This commit is contained in:
parent
c930ccc44a
commit
e6409a0a0e
9 changed files with 39 additions and 24 deletions
3
roles/jellyfin/files/jellyfin.Caddyfile
Normal file
3
roles/jellyfin/files/jellyfin.Caddyfile
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
media.roosens.me {
|
||||
reverse_proxy localhost:8096
|
||||
}
|
||||
3
roles/jellyfin/meta/main.yml
Normal file
3
roles/jellyfin/meta/main.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
dependencies:
|
||||
- role: caddy
|
||||
|
|
@ -50,3 +50,11 @@
|
|||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: Ensure Jellyfin Caddyfile is present
|
||||
copy:
|
||||
src: 'jellyfin.Caddyfile'
|
||||
dest: '/etc/caddy/jellyfin.Caddyfile'
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
notify: caddy-reload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue