From: Juliusz Chroboczek <jch@irif.fr>
To: Francis Bolduc <fbolduc@gmail.com>
Cc: galene@lists.galene.org
Subject: [Galene] Re: Behind reverse proxy, not at the root
Date: Sat, 24 Feb 2024 23:16:06 +0100 [thread overview]
Message-ID: <87jzmtpkyh.wl-jch@irif.fr> (raw)
In-Reply-To: <CAHpL4=hjBb3+dpVdwp4_PhSKiUr_g-H0UbtLYGQjhA6dBuK6iw@mail.gmail.com>
> 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
next prev parent reply other threads:[~2024-02-24 22:16 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 23:40 [Galene] " Francis Bolduc
2024-01-18 11:08 ` [Galene] " Juliusz Chroboczek
2024-01-18 14:56 ` Francis Bolduc
2024-02-24 11:49 ` Juliusz Chroboczek
2024-02-24 14:34 ` Francis Bolduc
2024-02-24 18:27 ` Francis Bolduc
2024-02-24 18:44 ` Juliusz Chroboczek
2024-02-24 18:56 ` Francis Bolduc
2024-02-24 20:12 ` Juliusz Chroboczek
2024-02-24 21:28 ` Francis Bolduc
2024-02-24 22:16 ` Juliusz Chroboczek [this message]
2024-02-24 22:19 ` Francis Bolduc
2024-02-24 22:49 ` Juliusz Chroboczek
2024-02-25 0:51 ` Francis Bolduc
2024-02-25 11:10 ` Juliusz Chroboczek
2024-03-03 15:20 ` Juliusz Chroboczek
2024-03-03 15:30 ` Dianne Skoll
[not found] ` <170947981403.1000.17286547855683116289@gauss.local>
2024-03-03 15:52 ` Juliusz Chroboczek
2024-03-03 16:04 ` Dirk-Willem van Gulik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzmtpkyh.wl-jch@irif.fr \
--to=jch@irif.fr \
--cc=fbolduc@gmail.com \
--cc=galene@lists.galene.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox