dieterich-lab / scimodom

GNU Affero General Public License v3.0
0 stars 0 forks source link

Proxy generates incorrect redirects #115

Open eboileau opened 1 week ago

eboileau commented 1 week ago

A clear and concise description of what the bug is.

As we run behind a reverse proxy, we need to know it's IP address to trust the X-Forwarded-Proto header, otherwise the server responds with 308 Permanent Redirect (mixed content-related).

Adding 87c7562dfe7ad208c7cc18e4a8c697031063a213 didn't work in general, see also forwarded-allow-ips

This originates from b22d189e761f28fa1cfde8783e18e463185a81f6

We need a long-term solution.