D
Dokployβ€’3mo ago
Attacler/Bart

how to use http 3

Hi there, How can i configure treafik to use http 3? Thanks πŸ™‚
27 Replies
Henrik
Henrikβ€’3mo ago
I'll investigate it later if no one comes with an answer ahead of me.
Attacler/Bart
Attacler/BartOPβ€’3mo ago
alright thanks πŸ™‚ rn it seems to be on http2, also good but http3 is ofc better
Henrik
Henrikβ€’3mo ago
It does not look that promising. Traefik does not have port 443 bound to udp, only tcp. it's possible to change it and spin it up again, but that will probably be overwritten with updates
Attacler/Bart
Attacler/BartOPβ€’3mo ago
hmm sounds scary should i maybe add a gh issue to add offical support? (to the dokploy gh)
Henrik
Henrikβ€’3mo ago
There is one that was closed. I have already left a comment on that one. Maybe it's a good idea to create a new one, but we can also wait a bit and see if they open the old one again
Attacler/Bart
Attacler/BartOPβ€’3mo ago
sure! Can you link it to me so that i can folloe it?
Henrik
Henrikβ€’3mo ago
GitHub
Add option to enable HTTP3 for Traefik Β· Issue #295 Β· Dokploy/dokpl...
What problem will this feature address? From traefik version 3.0 and above HTTP3 support is no longer experimental and is a feature I would like to use with Dokploy. I think it could work by adding...
Attacler/Bart
Attacler/BartOPβ€’3mo ago
Thanks πŸ™‚
Attacler/Bart
Attacler/BartOPβ€’3mo ago
https://github.com/Dokploy/dokploy/issues/1363 i have created a new issue for it
GitHub
Enable HTTP 3 Β· Issue #1363 Β· Dokploy/dokploy
What problem will this feature address? HTTP 3 has been out for quite some time but it seems like its not enabled when installing Dokploy 3 Describe the solution you'd like I would like that HT...
Henrik
Henrikβ€’3mo ago
I found a solution which survices restarts
No description
Henrik
Henrikβ€’3mo ago
I was wrong. It does not work after full reboot 😦
Attacler/Bart
Attacler/BartOPβ€’3mo ago
hmm too bad hope that someone will have a solution that can be baked into dokploy itself
Henrik
Henrikβ€’3mo ago
I am writing a PR as we speak I have written my own script which enables it on reboot tho
Attacler/Bart
Attacler/BartOPβ€’3mo ago
nice and thank you!
Fakerko
Fakerkoβ€’2mo ago
Sorry to use this thread, but Dokploy version 0.20.0 came out today and it has http/3 integration. Does anyone know how to activate http/3? I can't find anywhere how to do it.
Henrik
Henrikβ€’2mo ago
You need to make a slight change to traefik.yml file
entryPoints:
web:
address: ':80'
websecure:
http3: {} # Add this
address: ':443'
http:
tls:
certResolver: letsencrypt
entryPoints:
web:
address: ':80'
websecure:
http3: {} # Add this
address: ':443'
http:
tls:
certResolver: letsencrypt
That's it And open up udp on port 443 on your cloud provider if you're using any firewall
Fakerko
Fakerkoβ€’2mo ago
Thank you so much, it works πŸ™‚
Attacler/Bart
Attacler/BartOPβ€’2mo ago
seems like this has been rolled out as an official version πŸ™‚
Henrik
Henrikβ€’2mo ago
They mentioned in the release notes how to fix it. But it will only be on by default on new installations
Attacler/Bart
Attacler/BartOPβ€’2mo ago
jup, i saw that altho i did edit my traefik config (and reloaded it) and allowed the udp port in my firewall, it doesnt appear to use http3 πŸ‘€ any pointers?
Henrik
Henrikβ€’2mo ago
Sometimes your browser just doesn't care. Check here with your domain to see if it worked. If it says that's good, your browser may want to use it if it wants to
HTTP/3 Check
Is my site using HTTP3? Check HTTP3 service on any URL. Test QUIC service, too.
Attacler/Bart
Attacler/BartOPβ€’2mo ago
your right πŸ™‚ thanks!
Henrik
Henrikβ€’2mo ago
So it worked?
Attacler/Bart
Attacler/BartOPβ€’2mo ago
jup! but my browser was indeed not picking it up, restarting chrome did the trick
Fakerko
Fakerkoβ€’2mo ago
For me works load website few times with cache disabled. Then I saw h3 in dev console.
Eric
Ericβ€’2mo ago
The site for me says that HTTP/3 is supported, but in the HTTP Header just below, the response is coming from HTTP/1.1β€”is that normal?
No description
Henrik
Henrikβ€’2mo ago
Yes

Did you find this page helpful?