Add external file to put blocked room names (if needed in the future)
This commit is contained in:
parent
60957f8e1c
commit
18c30b72c1
|
@ -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
|
||||
|
|
5
webapps/jitsimeet/templates/nginx/blocked_room_names.j2
Normal file
5
webapps/jitsimeet/templates/nginx/blocked_room_names.j2
Normal file
|
@ -0,0 +1,5 @@
|
|||
## Par exemple pour bloquer une salle nommée «patate» :
|
||||
# location ~* /patate$
|
||||
# {
|
||||
# return 404;
|
||||
# }
|
|
@ -102,6 +102,8 @@ server {
|
|||
|
||||
include /etc/jitsi/meet/jaas/*.conf;
|
||||
|
||||
include /etc/nginx/snippets/blocked_room_names;
|
||||
|
||||
location = /config.js {
|
||||
alias $config_js_location;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue