dieterich-lab / scimodom

Sci- ModoM: A quantitative database of transcriptome-wide high-throughput RNA modification sites
https://dieterich-lab.github.io/scimodom/
GNU Affero General Public License v3.0
0 stars 0 forks source link

Proxy generates incorrect redirects #115

Open eboileau opened 4 months ago

eboileau commented 4 months 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.