Commit eec9cd91 authored by ulif's avatar ulif 🐻

On apply-config, fix nginx config, part 1.

Ensure, that port 80 requests are always redirected to 443. We do not
want unencrypted traffic in videoconferencing.
parent c33b5efd
# This is an ansible playbook to apply BBB configuration values
# For the local host, use it (as root) like:
# ansible-playbook --connection=local -i, path/to/bbb-apply-config.yml
- name: Apply local BBB configuration
hosts: all
hosts: bigbluebutton
become: yes
- name: We are alive
msg: "Hello, world!"
msg: Hello world, from {{ ansible_fqdn }}.
- name: Fix nginx bigbluebutton config
path: /etc/nginx/sites-available/bigbluebutton
insertafter: server_name
block: |
location / {
return 301 https://$host$request_uri;
## tls-secured bbb ###
server {
server_name {{ ansible_fqdn }};
backup: yes
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment