From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by mail.toke.dk (Postfix) with ESMTPS id 37B1CA5713F for ; Sat, 24 Feb 2024 22:29:24 +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=20230601 header.b=KXc5kVFf Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-dccb1421bdeso1615713276.1 for ; Sat, 24 Feb 2024 13:29:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708810100; x=1709414900; darn=lists.galene.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JhafPVfYXx9bPG+OHHoIRUqKDngnyJfFpk9ktf1JwKc=; b=KXc5kVFfdLsMSSnupxocumDARIf33rThn+8MgRpW7ajD6I0uQi7LxqW8am3Rvn4CFn DZ3wz5iU8i06jR/5oJXm2T/FZ2NiZ5uCeAASXI4Z1dVBSLIn8Z+B49aSs3M9t46xtiL3 sk3IFofY07Vv6vXAW1NgWrnUBAg8LP3oVRNQiW/IIhoqk1SFLHirSdMlgXh3PMBikZrX kZZqimzkI921mSyBzHMme7o4LJesPZERwkgjqC6mW/Au3y+NT4veibCYZ7wjc031zD6e Dm/keim4m9SyZ2biL7WYLsCBIghT3cZ4KiJXPw5m17eylMIhWJet0rA46/uXcPMbDDNE CzRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708810100; x=1709414900; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JhafPVfYXx9bPG+OHHoIRUqKDngnyJfFpk9ktf1JwKc=; b=nwD+jeicveKv1poONoerIE1zt3XzTfIGF1gUxJqO6dquEPDVVNfjLnCXm2GRp4G7Hd fceKuDBdeEPyCWZTRG0J4fkW5HSuertY9hHD15MfJ7FM6aEPiqmeKav8s+Bpptf4WAMG ctDR+uTMl792DDwHfuziuL36+FwxooVkz3X2vDr96PFkf/ltDVpX/opErPzKi4q1iLfg Nfxta0LJADLfX1KbWVjURGVxyZwRjFA+WyzPp37UwvkoQqqr71hksmgj5UGpgsZd0g5Z XoTvF/qdHcGRo+xyh8Cf4l757G9EPnZr6K57EMAmdIxZ9GVDm/AOasm0d69lFa3ilfBP 1Ldw== X-Gm-Message-State: AOJu0Yxzqcc3GEldQbVYiu9KhKhbQU8s6ENbdHW1F4NStp6pviBGJm6g Wn1nVdqW5/XTLC2Ub7o7/olnyNSzBCbkGWJa8Wf62GusYMhBjMxfL4ia5DmmcaugTc25oyLVLPV 3hVpvJ2NF/iC5JlQV41VXdBLSb38= X-Google-Smtp-Source: AGHT+IG6rEvGHCr6xyQeqymFt8xOe6NTKo9s/swPPtcKMHXAcLiDlcNNEbEbufRmiQlvl9yiNzC65E7Dk6BlyKPJXg4= X-Received: by 2002:a25:9308:0:b0:dcd:6dea:5d34 with SMTP id f8-20020a259308000000b00dcd6dea5d34mr2442670ybo.36.1708810100244; Sat, 24 Feb 2024 13:28:20 -0800 (PST) MIME-Version: 1.0 References: <87jzmursig.wl-jch@irif.fr> <87o7c5purn.wl-jch@irif.fr> <87msrppqos.wl-jch@irif.fr> In-Reply-To: <87msrppqos.wl-jch@irif.fr> From: Francis Bolduc Date: Sat, 24 Feb 2024 16:28:09 -0500 Message-ID: To: Juliusz Chroboczek Content-Type: text/plain; charset="UTF-8" Message-ID-Hash: XHYB6PCDJVP4LRL5Y7P74FY7IYFTUOBU X-Message-ID-Hash: XHYB6PCDJVP4LRL5Y7P74FY7IYFTUOBU X-MailFrom: fbolduc@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: galene@lists.galene.org X-Mailman-Version: 3.3.9 Precedence: list Subject: [Galene] Re: Behind reverse proxy, not at the root 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: I did a bit more debugging. Assuming the following galene configuration: "proxyURL": "/foo" Assuming galene expects paths at the root when doing HTTP GET requests: GET /$$$ and not: GET /foo/$$$ Using the following haproxy backend config: http-request replace-uri ([^/:]*://[^/]*/foo[/]?)?(.*) /\2 That replaces "http://127.0.0.1/foo/bar" by "/bar". Causes browser queries resulting in 404: http://127.0.0.1/mainpage.css http://127.0.0.1/galene.css http://127.0.0.1/mainpage.js http://127.0.0.1/common.css HTML is rendered bare-bones and without style. I assume this is because the path to the stylesheet in the root HTML page is missing the "/foo" proxyURL prefix.