diff options
Diffstat (limited to 'docker')
-rw-r--r-- | docker/jitsi/02_run.yml | 3 | ||||
-rwxr-xr-x | docker/jitsi/jitsi-front/entrypoint.sh | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/docker/jitsi/02_run.yml b/docker/jitsi/02_run.yml index ccf1878..62c468d 100644 --- a/docker/jitsi/02_run.yml +++ b/docker/jitsi/02_run.yml @@ -11,8 +11,9 @@ services: jitsi-front: build: ./jitsi-front ports: - - "80:80" + - "443:443" env_file: [ 'dev.env' ] + volumes: [ './jitsi-certs/:/certs:ro' ] jitsi-conference-focus: build: ./jitsi-conference-focus env_file: [ 'dev.env' ] diff --git a/docker/jitsi/jitsi-front/entrypoint.sh b/docker/jitsi/jitsi-front/entrypoint.sh index f3c9971..1e18bd1 100755 --- a/docker/jitsi/jitsi-front/entrypoint.sh +++ b/docker/jitsi/jitsi-front/entrypoint.sh @@ -4,9 +4,11 @@ cat > /etc/nginx/sites-available/jitsi <<EOF server_names_hash_bucket_size 64; server { - listen 0.0.0.0:80 default_server; - listen [::]:80 default_server; + listen 0.0.0.0:443 ssl http2 default_server; + listen [::]:443 ssl http2 default_server; 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; index index.html; location ~ ^/([a-zA-Z0-9=\?]+)$ { |