adrinator8
adrinator8
HHomarr
Created by adrinator8 on 7/8/2024 in #💬・get-help
Use Caddy as the reverse proxy
I have done the Pull Request adding the Caddy setup to the documentation repository. I hope I've done it well 🙂 Tell me if you need anything more!
19 replies
HHomarr
Created by adrinator8 on 7/8/2024 in #💬・get-help
Use Caddy as the reverse proxy
Oh true, I forgot the fork 🙂 thanks! I'll be doing this as soon as I can. Good night!
19 replies
HHomarr
Created by adrinator8 on 7/8/2024 in #💬・get-help
Use Caddy as the reverse proxy
Okay, I will try it tomorrow! I've never contributed in any repository. Do I need to clone the documentation repo, make a new branch. Do changes, do pnpm start and check if it's OK and then commit and push. Am I wrong? Tell me and I will do my best.
19 replies
HHomarr
Created by adrinator8 on 7/8/2024 in #💬・get-help
Use Caddy as the reverse proxy
For other people: You only have to put Caddyfile at the same folder as compose.yaml (or docker-compose.yml, both names are accepted). And run docker compose up -d and you are done 🙂 @Manicraft1001 If somebody can contribute this and do a better explanation to the documentation repository would be very nice.
19 replies
HHomarr
Created by adrinator8 on 7/8/2024 in #💬・get-help
Use Caddy as the reverse proxy
I don't know what to write, and I'm not the best English writter 🙂 I have also done this on localhost, I think to use any domain it only require to change it in the Caddyfile homarr.mydomain.com for example. But I can't test this right now because I don't have any domain.
19 replies
HHomarr
Created by adrinator8 on 7/8/2024 in #💬・get-help
Use Caddy as the reverse proxy
OMG, i don't know why but after restarting both containers it's working now... Thanks for your help, if you want I can share the whole setup to help people in the future. You can add it to the https://homarr.dev/docs/advanced/configuration/proxies-and-certificates
19 replies
HHomarr
Created by adrinator8 on 7/8/2024 in #💬・get-help
Use Caddy as the reverse proxy
I have all the other containers with this setup and the only one is not working is this, this is because I thought was problem of how Homarr is starting. I have been looking at the Github repo too. Caddyfile: ... homarr.localhost { reverse_proxy homarr:7575 } ... I don't know what's wrong, I posted this here to see if somebody has the same error.
19 replies
HHomarr
Created by adrinator8 on 7/8/2024 in #💬・get-help
Use Caddy as the reverse proxy
First of all thanks for the explanation! And yes I have the logs, the message was too long so I didn't add it 🙂
{"level":"error","ts":1720465243.4753218,"logger":"http.log.error","msg":"dial tcp: lookup board on 127.0.0.11:53: no such host","request":{"remote_ip":"172.20.0.1","remote_port":"45718","client_ip":"172.20.0.1","proto":"HTTP/2.0","method":"GET","host":"homarr.localhost","uri":"/","headers":{"Sec-Gpc":["1"],"Sec-Fetch-Site":["none"],"Sec-Fetch-User":["?1"],"Cache-Control":["max-age=0"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"],"Sec-Fetch-Mode":["navigate"],"Sec-Ch-Ua":["\"Not/A)Brand\";v=\"8\", \"Chromium\";v=\"126\", \"Brave\";v=\"126\""],"Priority":["u=0, i"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Language":["en-US,en;q=0.9"],"Sec-Fetch-Dest":["document"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Ch-Ua-Mobile":["?0"]},"tls":{"resumed":true,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"homarr.localhost"}},"duration":1.247334037,"status":502,"err_id":"12py680zj","err_trace":"reverseproxy.statusError (reverseproxy.go:1269)"}
{"level":"error","ts":1720465243.4753218,"logger":"http.log.error","msg":"dial tcp: lookup board on 127.0.0.11:53: no such host","request":{"remote_ip":"172.20.0.1","remote_port":"45718","client_ip":"172.20.0.1","proto":"HTTP/2.0","method":"GET","host":"homarr.localhost","uri":"/","headers":{"Sec-Gpc":["1"],"Sec-Fetch-Site":["none"],"Sec-Fetch-User":["?1"],"Cache-Control":["max-age=0"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"],"Sec-Fetch-Mode":["navigate"],"Sec-Ch-Ua":["\"Not/A)Brand\";v=\"8\", \"Chromium\";v=\"126\", \"Brave\";v=\"126\""],"Priority":["u=0, i"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Language":["en-US,en;q=0.9"],"Sec-Fetch-Dest":["document"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Ch-Ua-Mobile":["?0"]},"tls":{"resumed":true,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"homarr.localhost"}},"duration":1.247334037,"status":502,"err_id":"12py680zj","err_trace":"reverseproxy.statusError (reverseproxy.go:1269)"}
19 replies