how to use traefik to connect it to a domain with caddy
how to use traefik to connect it to a domain with canddy
48 Replies
What are you creating this issue for?
@Nanoi did
So essentially you would use just caddy
Caddy is it's own reverse proxy
if the trarfik id better that ngings then i rather use that also
Would you prefer to use caddy or traefik?
wich one is better?
I would recomend caddy
then caddy
Sweet
Are you running coder inside of a docker container or on the os
i run it inside a ubuntu host
Sweet
i have access to the terminal
ok so installing caddy is really simple
kk
Install - Caddy Documentation
Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go
yes
i did install it
Ok, sweet
So now all you have to do is edit your
/etc/caddy/Caddyfile
GitHub
coder/examples/web-server/caddy/README.md at 369bc47871133c3645d867...
Provision remote development environments via Terraform - coder/coder
i have to create it>
?
Its a file not a dir
you can just type
nano /etc/caddy/Caddyfile
yeah
So remove all of that info
now i have to install docker
Why?
i did
.
No
Scroll down
oh now i see
I need to just redo that whole doc atp XD
LOL
i see
This is how i have mine set up
I have my domain on cloudflare so i also use cloudflare to manage my tls
i see
i use cloudflare too
So in order to get that to work though, i also had to build a version of caddy with that module
Build from source - Caddy Documentation
Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go
i did that
And make sure you also setup the cloudflare module
Yes, you have to build that package first
i see
there is no option for ubuntu
Ubuntu would fall under
Linux
Just make sure you select the right chipset (chances are its going to be amd64)my brain is not braning anymore do you have time for voice ill share my screen
?
I don't sadly
Ill make a guid later today when I have a bit more free time
sorry about the inconvience
ok bro ty