Add external file to put blocked room names (if needed in the future)
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |3128|0|3128|0|:zzz:
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Mathieu Gauthier-Pilote 2024-06-19 13:46:07 -04:00
parent 60957f8e1c
commit 18c30b72c1
3 changed files with 8 additions and 0 deletions

View file

@ -152,6 +152,7 @@
loop:
- { src: 'nginx/vhost.conf.j2', dest: "/etc/nginx/sites-available/{{ jitsimeet_domains |first }}.conf" }
- { src: 'nginx/multiplex.conf.j2', dest: '/etc/nginx/modules-available/multiplex.conf' }
- { src: 'nginx/blocked_room_names.j2', dest: '/etc/nginx/snippets/blocked_room_names' }
notify: reload nginx
- name: Enable multiplex module conf

View file

@ -0,0 +1,5 @@
## Par exemple pour bloquer une salle nommée «patate» :
# location ~* /patate$
# {
# return 404;
# }

View file

@ -101,6 +101,8 @@ server {
gzip_min_length 512;
include /etc/jitsi/meet/jaas/*.conf;
include /etc/nginx/snippets/blocked_room_names;
location = /config.js {
alias $config_js_location;