Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
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:49:26 +0100	[thread overview]
Message-ID: <87il2dpjex.wl-jch@irif.fr> (raw)
In-Reply-To: <CAHpL4=iBf6ZUZ7gN_kJF-+Xp8hjB+isSzjzH_=RwTiwiz=Feww@mail.gmail.com>

> I expected the URL to be:
>     http://127.0.0.1:8443/foo/mainpage.css
> And not:
>     http://127.0.0.1:8443/mainpage.css

I understand that's what you expected.  But that's not what the "proxyURL"
option does.

The "proxyURL" option informs Galene that URLs visible to the client are
different from the URLs visible to Galene.  It makes it possible to run
Galene behind a reverse proxy that rewrites request, for exemple by
remapping HTTPS to HTTP, by remapping an external host to localhost, or,
in your case, by remapping URLs.

Galene will not do any URL rewriting, that's the job of the reverse proxy.
Of course, I could implement URL rewriting in Galene itself, but since
reverse proxies already know how to do rewriting, I'd spending time doing
work that has already been done (probably much better and in a more
flexible manner) by reverse proxy developers.

So please configure your reverse proxy to rewrite URLs before they hit
Galene, or else explain to me why it's better to rewrite URLs in Galene
rather than in the reverse proxy.

-- Juliusz

  reply	other threads:[~2024-02-24 22:49 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
2024-02-24 22:19                 ` Francis Bolduc
2024-02-24 22:49                   ` Juliusz Chroboczek [this message]
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=87il2dpjex.wl-jch@irif.fr \
    --to=jch@irif.fr \
    --cc=fbolduc@gmail.com \
    --cc=galene@lists.galene.org \
    --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