From: Francis Bolduc <fbolduc@gmail.com> To: Juliusz Chroboczek <jch@irif.fr> Cc: galene@lists.galene.org Subject: [Galene] Re: Behind reverse proxy, not at the root Date: Sat, 24 Feb 2024 16:28:09 -0500 [thread overview] Message-ID: <CAHpL4=hjBb3+dpVdwp4_PhSKiUr_g-H0UbtLYGQjhA6dBuK6iw@mail.gmail.com> (raw) In-Reply-To: <87msrppqos.wl-jch@irif.fr> 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.
next prev parent reply other threads:[~2024-02-24 21:29 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 [this message] 2024-02-24 22:16 ` Juliusz Chroboczek 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='CAHpL4=hjBb3+dpVdwp4_PhSKiUr_g-H0UbtLYGQjhA6dBuK6iw@mail.gmail.com' \ --to=fbolduc@gmail.com \ --cc=galene@lists.galene.org \ --cc=jch@irif.fr \ --subject='[Galene] Re: Behind reverse proxy, not at the root' \ /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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox