Skip to content

Issues with port forwarding for a web app, and 302/303 redirects #122720

Closed Answered by patrixl
patrixl asked this question in Codespaces
Discussion options

You must be logged in to vote

It appears, unless I'm premature here, that I found the solution and it was indeed a configuration issue.

So I'm using the ring-defaults library. I had :site-defaults-config {... :responses {:absolute-redirects true} ...}

Once I set this to false, my redirects started working properly. Whew!!! As long as I set the :proxy true key and {:security {:ssl-redirect true}} as well

So far anyway this seems to have solved most if not all of my redirect issues...

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by patrixl
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform,
1 participant