Unable to redirect the URL to another page in docker app

I have added link to my website in the post, few times.And Docker forum has some restriction on how many link I can use in the post , hence posting the question in stackoverflow and sharing the link.


When ever I redirect to another page in my website and refresh the page, I get server 500 issue. (If it is too vague, check the stackoverflow link. I have added more details.)