Meetpad: redirect 80 to 443
This should redirect meetpad connections on port 80 to port 443. Change-Id: Ibfee9d9e6efbbac01ccf8363909a4da772a4dc42
This commit is contained in:
parent
fffd971c38
commit
a11a97e981
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