From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by mail.toke.dk (Postfix) with ESMTPS id B45B29C9AFA for ; Fri, 2 Dec 2022 15:24:05 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Y6SxU3hF Received: by mail-pf1-x431.google.com with SMTP id h28so5019511pfq.9 for ; Fri, 02 Dec 2022 06:24:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=B46YNVf1ANmzTpejlqixuQFCypN1Rlhaj9gaFBf/7hw=; b=Y6SxU3hF3Q9ERPA1m0nxjV2+kqmvcBB/fTCPLAj+FQuabAR73p+CLZaxHBsrfMhA7r spmoquYrEXzNJTS3j6lxRkt7f/wvn7e3bNqPKVPAfS1PVi3rXe7shmaA0up8yrDMI4/b HlasnCfNsIALma63fRNEve08jaXnaPxGG+KzOmLTDoMJojItSHmWQau3rxmRmMpTzNg4 QneUOKIO0em+CGYSidWv/2f4L7zg41hV5N+nxTXms38nrJ6M+6eqIt9GlvE7OdXBMKlv DsRYTs43A4EGQioAJefQBy5sd2OHZHV/Z7GC3I5JFwWKXn7LkkaygZeBnbtvzsnjyEOc L4lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B46YNVf1ANmzTpejlqixuQFCypN1Rlhaj9gaFBf/7hw=; b=BUp8gx6SyzQJgPvz1wSY5M/pyAgzX9DwsUOVDm6CjEQeu1QDbN5tCthlV2Bf0UyiCv jtkqz0RlMPw3kj+tNOeEsq2avDxk0eHjHSU/zaq96XiDPvzt4grgdMpulAvWMAR1WmIy AXnrwF01fuUtQNm/htpyWtPOQG4fYIGxGzz8rpzLJMt87WBhiVWB+DCDJvZg3wSp/9b5 N9QolxYgrazQJATK8+DyCyj03gkgI2DbIeLSJF4E9PtlVk71dCmyf0PdFSjTYnqgYx1P mfE+fSgZXRffwERz7QX88YawGJMEbUQO7zPYUs3FnnH7Yz6ay2tYhd1wk53yQBxESGmq mALg== X-Gm-Message-State: ANoB5pmNc0b8ziAE5db21mNtfbLja1/Rc0UPzFQ73aFasCQhe+UFTozx Jmsn27bJPygfvcyaoovjLf6nqsf6uco= X-Google-Smtp-Source: AA0mqf4b858/buyJzKw5bLhjmswrkKmyzQBnAZH1FQ48F2btshlX+fn50kO7sLpwJAErr3d3hxg8GQ== X-Received: by 2002:a63:2c05:0:b0:477:ceeb:cb9c with SMTP id s5-20020a632c05000000b00477ceebcb9cmr33995774pgs.17.1669950925904; Thu, 01 Dec 2022 19:15:25 -0800 (PST) Received: from smtpclient.apple (pool-96-241-128-233.washdc.fios.verizon.net. [96.241.128.233]) by smtp.gmail.com with ESMTPSA id cp6-20020a170902e78600b0018986ba1db9sm4341582plb.284.2022.12.01.19.15.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Dec 2022 19:15:25 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Han So Mime-Version: 1.0 (1.0) Date: Thu, 1 Dec 2022 22:15:14 -0500 Message-Id: <29B1DAB3-4733-42B3-9F57-E7B7F6752938@gmail.com> References: <87999D9F-C8C1-4EFB-AE88-5D776D9D13C2@gmail.com> In-Reply-To: <87999D9F-C8C1-4EFB-AE88-5D776D9D13C2@gmail.com> To: Han So X-Mailer: iPhone Mail (20B101) Message-ID-Hash: BORMDVAPX2TOPP26NWPYYDJV5DACOW4T X-Message-ID-Hash: BORMDVAPX2TOPP26NWPYYDJV5DACOW4T X-MailFrom: hansolo2218@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Juliusz Chroboczek , galene@lists.galene.org X-Mailman-Version: 3.3.7 Precedence: list Subject: [Galene] Re: Client/server setup? List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Turns out it worked great in editing the endpoint. Reverse proxy setting in= the config only applies to the UI side. When putting the =E2=80=9Cbackend=E2= =80=9D on a different server, it didn=E2=80=99t matter that was behind as di= fferent reverse proxy since it was only used in the websocket calls. =20 Hans > On Nov 30, 2022, at 10:12 AM, Han So wrote: >=20 > =EF=BB=BFNice - how would having a reverse proxy affect the below? >=20 > Hans >=20 >> On Nov 24, 2022, at 3:05 PM, Juliusz Chroboczek wrote: >>=20 >> =EF=BB=BF >>>=20 >>> Has anyone done client server separation? Meaning the UI is on >>> a different server than the server? >>=20 >> Sure. After the HTML/JS code is downloaded, the client connects to the >> WebSocket specified in the "endpoint" field of the .status.json file: >>=20 >> $ curl https://galene.org:8443/group/public/.status.json >>=20 >> So you'd simply need to hack the code to provide a URL on a different >> server: >>=20 >> https://github.com/jech/galene/blob/master/group/group.go#L1223 >>=20 >> You'll probably also need to tweak the CORS headers. >>=20 >> -- Juliusz