Migrate to HTTPS to test in browser

This commit is contained in:
Quentin 2020-03-22 18:21:32 +01:00
parent 51b656e937
commit ceb8a8b930
2 changed files with 6 additions and 3 deletions

View file

@ -11,8 +11,9 @@ services:
jitsi-front: jitsi-front:
build: ./jitsi-front build: ./jitsi-front
ports: ports:
- "80:80" - "443:443"
env_file: [ 'dev.env' ] env_file: [ 'dev.env' ]
volumes: [ './jitsi-certs/:/certs:ro' ]
jitsi-conference-focus: jitsi-conference-focus:
build: ./jitsi-conference-focus build: ./jitsi-conference-focus
env_file: [ 'dev.env' ] env_file: [ 'dev.env' ]

View file

@ -4,9 +4,11 @@ cat > /etc/nginx/sites-available/jitsi <<EOF
server_names_hash_bucket_size 64; server_names_hash_bucket_size 64;
server { server {
listen 0.0.0.0:80 default_server; listen 0.0.0.0:443 ssl http2 default_server;
listen [::]:80 default_server; listen [::]:443 ssl http2 default_server;
server_name _; server_name _;
ssl_certificate ${JITSI_CERTS_FOLDER}/jitsi.deuxfleurs.fr.crt;
ssl_certificate_key ${JITSI_CERTS_FOLDER}/jitsi.deuxfleurs.fr.key;
root /srv/jitsi-meet; root /srv/jitsi-meet;
index index.html; index index.html;
location ~ ^/([a-zA-Z0-9=\?]+)$ { location ~ ^/([a-zA-Z0-9=\?]+)$ {