Browse Source

Meetpad: redirect 80 to 443

This should redirect meetpad connections on port 80 to port 443.

Change-Id: Ibfee9d9e6efbbac01ccf8363909a4da772a4dc42
changes/99/724199/2
James E. Blair 2 years ago
parent
commit
a11a97e981
  1. 13
      playbooks/roles/jitsi-meet/files/default.conf
  2. 7
      playbooks/roles/jitsi-meet/tasks/main.yaml

13
playbooks/roles/jitsi-meet/files/default.conf

@ -0,0 +1,13 @@
server {
listen 80 default_server;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
include /config/nginx/ssl.conf;
include /config/nginx/meet.conf;
}

7
playbooks/roles/jitsi-meet/tasks/main.yaml

@ -13,11 +13,16 @@
loop:
- web
- web/nginx
- web/nginx/site-confs
- name: Write web config
copy:
src: config.js
dest: /var/jitsi-meet/web/config.js
- name: Write nginx config
- name: Write nginx site config
copy:
src: default.conf
dest: /var/jitsi-meet/web/nginx/site-confs/default
- name: Write nginx meet config
copy:
src: meet.conf
dest: /var/jitsi-meet/web/nginx/meet.conf

Loading…
Cancel
Save