#21 support proxying in resultsdb_frontend
Closed: Fixed None Opened 9 years ago by tflink.

When I deployed the new dev instance of taskotron, I found out that resultsdb_frontend doesn't behave well when proxied.

If you click on any link within resultsdb_frontend from:
https://taskotron-dev.fedoraproject.org/resultsdb/jobs

you lose the /resultsdb part of the url, which ends up not being invalid. The local css urls are also invalid.

While production and staging aren't going to be proxied in the exact same way that dev is, I see no reason to think that we wouldn't see similar behavior.

One solution (and the one that [[https://github.com/fedora-infra/fedocal/blob/master/fedocal/proxy.py|fedocal]] uses) is outlined as a [[http://flask.pocoo.org/snippets/35/|flask snippet]].

Fix resultsdb_frontend such that it uses correct urls when behind a reverse proxy.


This ticket had assigned some Differential requests:
D184

Closed by commit rRSFEd72d3d061925.

Login to comment on this ticket.

Metadata