From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=irif.fr (client-ip=2001:660:3301:8000::1:2; helo=korolev.univ-paris7.fr; envelope-from=jch@irif.fr; receiver=) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=irif.fr header.i=@irif.fr header.a=rsa-sha256 header.s=dkim-irif header.b=mkGSauCh Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) by mail.toke.dk (Postfix) with ESMTPS id 5FAB8A57178 for ; Sat, 24 Feb 2024 23:16:10 +0100 (CET) Received: from potemkin.univ-paris7.fr (potemkin.univ-paris7.fr [IPv6:2001:660:3301:8000::1:1]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/82085) with ESMTP id 41OMG9sA002762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 24 Feb 2024 23:16:09 +0100 Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by potemkin.univ-paris7.fr (8.14.4/8.14.4/relay2/82085) with ESMTP id 41OMG9Kc019647; Sat, 24 Feb 2024 23:16:09 +0100 Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id F37AC26165; Sat, 24 Feb 2024 23:16:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=irif.fr; h= content-type:content-type:mime-version:user-agent:references :in-reply-to:subject:subject:from:from:message-id:date:date :received:received; s=dkim-irif; t=1708812967; x=1709676968; bh= HQ9uP3q4X81p8U7bdv3sscua3QdZOJJBOFLbtuCMWK8=; b=mkGSauChEzuYsmqo eSFHMUOBk/jQ/2GeKoEQ0LOMbQSbEQrk7OMyBmOtaRWBug9UohjqQp8oqYPeOPtD BobFF1YG7rOUqyBHJUEpmPaQoDkvzaF6ArpDA8A2kfhPuwz5R1MhRDyzRB6kgm6b VXd8chCzvL3heCL6jD7CXvr+AR6glmZbXpWzoF/qTgePGcQ6h46J7md+0qdMZTf7 yJtb00rHQgFB5AnNUXC8BeqoXJdhQwRbpc8jwnnlIPcW31j3rmiIWTSuA3O8rftD DUZTTBHa3aVJ6GWf46HcyNrNO7V6WbItEQWq3akey+N0qXV78ewCg6FeLxk5VDw/ 6NoIKA== X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id BKzsOr14cFvN; Sat, 24 Feb 2024 23:16:07 +0100 (CET) Received: from pirx.irif.fr (unknown [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 32BAB26316; Sat, 24 Feb 2024 23:16:06 +0100 (CET) Date: Sat, 24 Feb 2024 23:16:06 +0100 Message-ID: <87jzmtpkyh.wl-jch@irif.fr> From: Juliusz Chroboczek To: Francis Bolduc In-Reply-To: References: <87jzmursig.wl-jch@irif.fr> <87o7c5purn.wl-jch@irif.fr> <87msrppqos.wl-jch@irif.fr> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/29.1 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]); Sat, 24 Feb 2024 23:16:09 +0100 (CET) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (potemkin.univ-paris7.fr [194.254.61.141]); Sat, 24 Feb 2024 23:16:09 +0100 (CET) X-Miltered: at korolev with ID 65DA6AA9.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-Miltered: at potemkin with ID 65DA6AA9.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 65DA6AA9.000 from potemkin.univ-paris7.fr/potemkin.univ-paris7.fr/null/potemkin.univ-paris7.fr/ X-j-chkmail-Enveloppe: 65DA6AA9.000 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/ X-j-chkmail-Score: MSGID : 65DA6AA9.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Score: MSGID : 65DA6AA9.000 on potemkin.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-j-chkmail-Status: Ham Message-ID-Hash: AWMSNXYT7PE54RKRFQOS54U5PSTUQNHU X-Message-ID-Hash: AWMSNXYT7PE54RKRFQOS54U5PSTUQNHU X-MailFrom: jch@irif.fr 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: > 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 I'm unable to reproduce your issue. I've set the config.json to: { "proxyURL": "/foo" } I've then run Galene as go run galene.go -insecure and I can access the above files with no issue: $ curl -I http://127.0.0.1:8443/mainpage.css HTTP/1.1 200 OK ... Is there something else that you've tweaked in your configuration? -- Juliusz