13
submitted 1 year ago* (last edited 1 year ago) by lemming741@lemmy.world to c/selfhosted@lemmy.world

I'd asked about using a VPS to get better routing to my homelab in this post: https://lemmy.world/post/1424540

I've narrowed down my problem- if i use a subdomain in my caddyfile, performance is 1/3 or worse compared to just the root.

example.com {reverse_proxy 192.168.1.57}

will saturate my gigabit lan connection at 980ish. On a 5gUW connection i get my advertised 50 mbit or more

librespeed.example.com {reverse_proxy 192.168.1.57}

I get 220-250 megabits on my internal lan. The same 5gUW connection will only get 7 or 8 mbit.

It's strange to me that everything seems to work just fine, but it's just slow. Anyone got any ideas?

you are viewing a single comment's thread
view the rest of the comments
[-] lemming741@lemmy.world 4 points 1 year ago

I tried to dig into that but couldn't come up with a good test. But if NAT hairpinning wasn't working right, I'd be limited to my ISPs 50Mbit, right? I could get 200+ Mbit on wifi. I also tested this from work (50 Mbit sym fiber) and subdomains always were slower. I figured out today it's HTTP/3 causing my problems. I don't know if I care to troubleshoot anymore since it's working great with http 1 & 2.

[-] doot@social.bug.expert 2 points 1 year ago

Interesting stuff, perhaps report it to the Caddy devs, h3 isn't really "stable" afaik

[-] lemming741@lemmy.world 4 points 1 year ago

https://github.com/caddyserver/caddy/issues/4876

Looks like they already know, and upstream is working on it. I am curious why the sub domains get http/3 and the root domain does not.

[-] doot@social.bug.expert 2 points 1 year ago

wow, some of those comments mirror your situation exactly hah

this post was submitted on 06 Aug 2023
13 points (88.2% liked)

Selfhosted

40219 readers
376 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS