Spodcast icon indicating copy to clipboard operation
Spodcast copied to clipboard

HTTP Redirect to Wrong URL when using non-standard port

Open heywoodlh opened this issue 1 year ago • 1 comments

In setting up the docker-compose.yml file for https://github.com/Yetangitu/Spodcast/issues/15 I noticed that it all works except for the links in my Spodcast web interface.

image

When I click on the link rather than going to http://localhost:8080/The_Joe_Rogan_Experience it goes to http://localhost/The_Joe_Rogan_Experience (notice the missing port 8080) which won't work.

image

I can still manually type in http://localhost:8080/The_Joe_Rogan_Experience and get a feed -- but I'd like for the URL's on the interface to work.

image

I suspect it's the Nginx config I'm using in the Docker image: https://github.com/heywoodlh/Spodcast/blob/55bc1efb29f819a2188b654c5d9ee9c110844cbf/docker/nginx/sites-enabled/spodcast

But any suggestions would be welcome because I haven't been able to figure out what I'm doing wrong.

heywoodlh avatar Jul 25 '22 20:07 heywoodlh

No suggestions, but can confirm same experience :(

https://www.baeldung.com/linux/nginx-config-environment-variables ??

jamesvincent avatar Nov 11 '22 21:11 jamesvincent