Add ChillNet matterbridge #42

Merged
Georg merged 2 commits from chillnet into production 2023-04-09 21:24:25 +02:00
Showing only changes of commit 6ebd02042f - Show all commits

View File

@ -44,15 +44,15 @@
- proxy_set_header: Host $http_host
- resolver: '{{ resolver }} ipv4=off valid=24h'
{%- endmacro -%}
{%- macro matterbridge_media(name) -%}
{%- macro matterbridge_media(domain, name) -%}
- server:
- include:
- snippets/listen
- snippets/tls_load
- snippets/tls
- server_name: {% if name == 'general' %}load.casa{%- else %}{{ name ~ '.load.casa' }}{%- endif %}
- server_name: {{ domain }}
- location /:
- proxy_pass: http://libertacasa-{{ name }}.matterbridge.dericom02.rigel.lysergic.dev
- proxy_pass: http://{{ name }}.matterbridge.dericom02.rigel.lysergic.dev
{%- endmacro -%}
nginx:
@ -316,9 +316,8 @@ nginx:
matterbridge.conf:
config:
{{ matterbridge_media('general') }}
{{ matterbridge_media('irc') }}
Review

Could have left the empty line before meet.conf, but it’s no problem. ;-)

Could have left the empty line before `meet.conf`, but it's no problem. ;-)
{{ matterbridge_media('load.casa', 'libertacasa-general') }}
{{ matterbridge_media('irc.load.casa', 'libertacasa-irc') }}
meet.conf:
config:
- server: