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: no Host in request URL #75

Open
gummipunkt opened this issue May 21, 2024 · 2 comments
Open

http: no Host in request URL #75

gummipunkt opened this issue May 21, 2024 · 2 comments

Comments

@gummipunkt
Copy link

I've installed ladder with docker compose as mentioned in the readme, just changed the port for my nginx reverse proxy. Worked fine, but every url I try to use, the respone is the same:

Get "https://www.exampledomain.tld": http: no Host in request URL

Thank you for your help in advance

@actuallymentor
Copy link

Please post the docker-compose file (minus auth secrets) and the nginx config. This is too little info to work with

@danterazo
Copy link

danterazo commented Jan 20, 2025

I also noticed this when accessing Ladder behind a reverse proxy (https://ladder.mydomain.com) and referencing it with a hostname (e.g. http://server:8080). Ladder only loads webpages when I use http://<LAN_IP>:8080.

The issue stems from how the URL is pieced together. In Firefox and Chrome, if I paste an article with HTTPS into Ladder, I'm led to the following URL:

https://ladder.<my_domain>/https:/<article_url>

Same with the hostname over HTTP:

http://server:8080/https:/<article_url>

Note the https:/ before the article URL. Manually adding the second slash doesn't work, either. But when I refer to my Ladder instance by its IP, it works and there are two slashes in the URL:

http://<LAN_IP>:8080/https://<article_url>

12ft utilizes query strings for proxied URLs... maybe Ladder could do the same?

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

3 participants