Merge "Meetpad: redirect 80 to 443"
This commit is contained in:
commit
33e48396d1
13
playbooks/roles/jitsi-meet/files/default.conf
Normal file
13
playbooks/roles/jitsi-meet/files/default.conf
Normal 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;
|
||||
}
|
@ -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…
Reference in New Issue
Block a user