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:
|
loop:
|
||||||
- { src: 'nginx/vhost.conf.j2', dest: "/etc/nginx/sites-available/{{ jitsimeet_domains |first }}.conf" }
|
- { 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/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
|
notify: reload nginx
|
||||||
|
|
||||||
- name: Enable multiplex module conf
|
- 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;
|
||||||
|
# }
|
|
@ -101,6 +101,8 @@ server {
|
||||||
gzip_min_length 512;
|
gzip_min_length 512;
|
||||||
|
|
||||||
include /etc/jitsi/meet/jaas/*.conf;
|
include /etc/jitsi/meet/jaas/*.conf;
|
||||||
|
|
||||||
|
include /etc/nginx/snippets/blocked_room_names;
|
||||||
|
|
||||||
location = /config.js {
|
location = /config.js {
|
||||||
alias $config_js_location;
|
alias $config_js_location;
|
||||||
|
|
Loading…
Reference in a new issue