diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-03-22 18:21:32 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-03-22 18:21:32 +0100 |
commit | ceb8a8b930f5cacf572a2ac8382e199b86dd8da8 (patch) | |
tree | 68b61d4af3b97b13362a413b817d950d9c117d47 /docker/jitsi/jitsi-front | |
parent | 51b656e937aa469e8f09a43bd51dbdabdd4eea1f (diff) | |
download | infrastructure-ceb8a8b930f5cacf572a2ac8382e199b86dd8da8.tar.gz infrastructure-ceb8a8b930f5cacf572a2ac8382e199b86dd8da8.zip |
Migrate to HTTPS to test in browser
Diffstat (limited to 'docker/jitsi/jitsi-front')
-rwxr-xr-x | docker/jitsi/jitsi-front/entrypoint.sh | 6 |
1 files changed, 4 insertions, 2 deletions
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=\?]+)$ { |