Skip to content
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

HTTP Redirect to Wrong URL when using non-standard port #16

Open
heywoodlh opened this issue Jul 25, 2022 · 1 comment
Open

HTTP Redirect to Wrong URL when using non-standard port #16

heywoodlh opened this issue Jul 25, 2022 · 1 comment

Comments

@heywoodlh
Copy link
Contributor

In setting up the docker-compose.yml file for #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.

@jamesvincent
Copy link

No suggestions, but can confirm same experience :(

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants