-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
302 redirects from latest aren't working? #35
Comments
Hmmm, that's weird- what versions of stuff are you using? That PR was fixing a regression from an upstream change, so I wonder if something else changed. I'm not running this in prod anymore, so any info or debugging would be helpful. Specifically, is |
All I did for a test was remove the Really not sure how to debug this further (I don't know much of the code at all), but since I do have this running in a test server, I would be happy to attempt something from here :) Here's my pip freeze output, running Python 3.8:
|
Is it this? pallets/werkzeug#540 |
Possibly - I have tried setting And again, my older, pre-PR#30 version of hostthedocs, with the following
|
What happens if you hit the Python service directly rather than going through nginx? |
Same issue, the server returns Removing removing the leading slash addition in the latest version, it returns |
@abrasive changed this in PR #30
https://github.com/rgalanakis/hostthedocs/pull/30/files#diff-452aa13f6fb8e9b475a6a45095e25a1d
Since this, the server returns 302s with the Location header:
http://package/version/index.html
when it was previously (and should be, I'd think) returning:
http://hostname.domain.com/package/version/index.html
Am I missing something with my webserver configuration that you guys are doing to make this work properly with this new change, or is this an actual bug?
The text was updated successfully, but these errors were encountered: