From 413dc1ad9a0f0a8a4748be305f63457bb6b348ce Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 13 Feb 2022 16:40:34 +0100 Subject: [PATCH] Fix missing certificate --- conf/nginx.conf | 16 ++++++++-------- conf/prosody.cfg.lua | 4 ++++ manifest.json | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5968362..695b7a0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,7 +15,7 @@ location = /external_api.js { alias __FINALPATH__/jitsi-meet-web/libs/external_api.min.js; } -#ensure all static content can always be found first +# ensure all static content can always be found first location ~ ^/(libs|css|static|images|fonts|lang|sounds|connection_optimization|.well-known)/(.*)$ { more_set_headers "Access-Control-Allow-Origin: *"; @@ -29,9 +29,9 @@ location ~ ^/(libs|css|static|images|fonts|lang|sounds|connection_optimization|. # BOSH location = /http-bind { - proxy_pass http://127.0.0.1:5280/http-bind?prefix=$prefix&$args; + proxy_pass http://127.0.0.1:5280/http-bind?prefix=$prefix&$args; proxy_set_header X-Forwarded-For $remote_addr; - proxy_set_header Host $http_host; + proxy_set_header Host $http_host; } # xmpp websockets @@ -63,10 +63,10 @@ location @root_path { location ~ ^/([^/?&:'"]+)/config.js$ { - set $subdomain "$1."; - set $subdir "$1/"; - - alias /etc/__NAME__/meet/__DOMAIN__-config.js; + set $subdomain "$1."; + set $subdir "$1/"; + + alias /etc/__NAME__/meet/__DOMAIN__-config.js; } # BOSH for subdomains @@ -87,7 +87,7 @@ location ~ ^/([^/?&:'"]+)/xmpp-websocket { rewrite ^/(.*)$ /xmpp-websocket; } -#Anything that didn't match above, and isn't a real file, assume it's a room name and redirect to / +# Anything that didn't match above, and isn't a real file, assume it's a room name and redirect to / location ~ ^/([^/?&:'"]+)/(.*)$ { set $subdomain "$1."; set $subdir "$1/"; diff --git a/conf/prosody.cfg.lua b/conf/prosody.cfg.lua index d13ff0a..8e270ed 100644 --- a/conf/prosody.cfg.lua +++ b/conf/prosody.cfg.lua @@ -108,6 +108,10 @@ Component "internal.auth.__DOMAIN__" "muc" muc_room_default_public_jids = true VirtualHost "auth.__DOMAIN__" + ssl = { + key = "/etc/prosody/certs/auth.__DOMAIN__.key"; + certificate = "/etc/prosody/certs/auth.__DOMAIN__.crt"; + } modules_enabled = { "limits_exception"; } diff --git a/manifest.json b/manifest.json index 5246421..cfeb1dc 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Video conferencing web application", "fr": "Application web de conférence vidéo" }, - "version": "1.0.4466~ynh1", + "version": "1.0.4466~ynh2", "url": "https://jitsi.org/Projects/JitMeet", "upstream": { "license": "Apache-2.0",