Add chillnet matterbridge uploads
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
This commit is contained in:
Pratyush Desai 2023-06-25 01:32:42 +05:30
parent 36c70f4016
commit 667646a295
2 changed files with 8 additions and 6 deletions

View File

@ -229,7 +229,7 @@ profile:
general:
MediaDownloadSize: 1000000000
MediaDownloadPath: {{ mediapath }}chillnet
MediaServerDownload: https://uploads.chillnet.org
MediaServerDownload: https://up.chillnet.org
accounts:
irc.chillnet:
Server: irc.chillnet.org:6697

View File

@ -44,11 +44,11 @@
- proxy_set_header: Host $http_host
- resolver: '{{ resolver }} ipv4=off valid=24h'
{%- endmacro -%}
{%- macro matterbridge_media(domain, name) -%}
{%- macro matterbridge_media(domain, name, tls='load') -%}
- server:
- include:
- snippets/listen
- snippets/tls_load
- snippets/tls_{{ tls }}
- snippets/tls
- server_name: {{ domain }}
- location /:
@ -71,6 +71,7 @@ nginx:
{{ nginx_crtkeypair('meet', 'meet.com.de') | indent }}
{{ nginx_crtkeypair('takahe', 'social.liberta.casa') | indent }}
{{ nginx_crtkeypair('pub_sectigo', 'pub') | indent }}
{{ nginx_crtkeypair('up.chillnet.org', 'up.chillnet.org') | indent }}
{#- locations shared between clearnet and Tor LibertaCasa servers #}
libertacasa:
@ -318,7 +319,8 @@ nginx:
config:
{{ matterbridge_media('load.casa', 'libertacasa-general') }}
{{ matterbridge_media('irc.load.casa', 'libertacasa-irc') }}
{{ matterbridge_media('uploads.chillnet.org', 'chillnet') }}
{{ matterbridge_media('up.chillnet.org', 'chillnet', 'up.chillnet.org') }}
meet.conf:
config:
- server: