Merge "Meetpad: redirect 80 to 443"

This commit is contained in:
Zuul 2020-05-01 14:34:00 +00:00 committed by Gerrit Code Review
commit 33e48396d1
2 changed files with 19 additions and 1 deletions

View File

@ -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;
}

View File

@ -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