Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

traefik, cloudflare tunnel, ... what would you use?

Hi,
what I would like to have is i link subdomain.domain.tld to an docker container running on my server. I was thinking about using cloudflare tunnel or nginx proxy manger, traefik,.... what would you recommend me since im not a professional at managing servers or linux.

Comments

  • I use docker -> setup nginx reverse proxy -> cloudflare domain reverse proxy. Only works for HTTP/HTTPS though.

  • I use caddy.

  • @dosai said:
    I use caddy.

    Afaik caddy is a webserver and not a reverse proxy?

  • gbzret4dgbzret4d Member
    edited October 2024

    @tbdsux said:
    I use docker -> setup nginx reverse proxy -> cloudflare domain reverse proxy. Only works for HTTP/HTTPS though.

    Im not sure if i have enough knowledge to get this working :/

  • yoursunnyyoursunny Member, IPv6 Advocate

    We assign a public IP address to the Docker container and set AAAA record to this address.
    UFW firewall rules control which ports are allowed through.

    For web application, we setup Caddy HTTP server on the host machine, which terminates TLS and provides reverse proxy into containers.

    Thanked by 1Frameworks
  • @tbdsux said:
    I use docker -> setup nginx reverse proxy -> cloudflare domain reverse proxy. Only works for HTTP/HTTPS though.

    Same here.

  • @gbzret4d said:

    @dosai said:
    I use caddy.

    Afaik caddy is a webserver and not a reverse proxy?

    Caddy can be both. It is very easy to use.

    Thanked by 2sillycat yoursunny
  • +1 Nginx proxy.
    Nginxproxymanager.com is very simple

    Thanked by 1Frameworks
  • @gbzret4d said:

    @tbdsux said:

    >

    Im not sure if i have enough knowledge to get this working :/

    It may seems confusing at first, but if you learn and do it slowly and getting it, it not as hard as you may imagine, i learn it no more than 3 days from google youtube etc.

    I use apache mod proxy for navidrome running on docker before.

  • Caddy is worth learning, real time-saver

    Nginx Proxy Manager if simply need something that works and you don't wanna learn anything

    Treafik isn't worth learning if you don't plan on configuring large kubernetes clusters

    Cloudflare if you are ok with letting someone else manage your server + just finish the job faster so you can watch one more netflix episode, together with your girlfriend

    Thanked by 2yoursunny gbzret4d
  • yoursunnyyoursunny Member, IPv6 Advocate

    @lowendtalkxdax said:
    Cloudflare if you are ok with letting someone else manage your server + just finish the job faster so you can watch one more netflix episode, together with your girlfriend

    We have Cloudflare.
    Where's the girlfriend?

  • Error 404 Girlfriend not found.

    Thanked by 2yoursunny Frameworks
  • I use Caddy, sometimes Caddy -> nginx -> backend thing if I need caching. Caddy's caching plugin has too many issues for me.

    Thanked by 1yoursunny
  • johnlth93johnlth93 Member, Host Rep

    I would just use cloudflare tunnel, pretty good.

  • @lowendtalkxdax said:
    Caddy is worth learning, real time-saver

    Nginx Proxy Manager if simply need something that works and you don't wanna learn anything

    Treafik isn't worth learning if you don't plan on configuring large kubernetes clusters

    Cloudflare if you are ok with letting someone else manage your server + just finish the job faster so you can watch one more netflix episode, together with your girlfriend

    What do you think of zoraxy? As easy as nginx proxy manager or caddy?, since I played already a little bit with nginx proxy manager. One plus for the cloudflare tunnels is that I can hide the server ip. Since it's already mentioned here in the thread, cloudflare tunnels are run and forget imo, or am I wrong with that? Anything I could run into limits with cf tunnels which caddy could handle?

  • @tbdsux said:
    I use docker -> setup nginx reverse proxy -> cloudflare domain reverse proxy. Only works for HTTP/HTTPS though.

    for me more complicated
    1 .cloudflare domain proxy to IP VPS
    2. docker and nginx reverse proxy on VPS, then use tailscale, point to IP of VPN to host
    3. host (home server) using aapanel with reserve proxy nginx

  • traefik is lovely, once i understood how to use it after years of nginx usage.

  • @thanh_tan said:

    @tbdsux said:
    I use docker -> setup nginx reverse proxy -> cloudflare domain reverse proxy. Only works for HTTP/HTTPS though.

    for me more complicated
    1 .cloudflare domain proxy to IP VPS
    2. docker and nginx reverse proxy on VPS, then use tailscale, point to IP of VPN to host
    3. host (home server) using aapanel with reserve proxy nginx

    Email service is hosted by mxroute, so just pointing the whole domain to the server is not possible, atleast for me atm, technically there is for sure a solution

  • tjntjn Member

    Caddy is so much easier to use and maintain than the rest, I highly recommend it.
    It's also extremely performant.

    The only issue with caddy is installing it is not as straightfroward as the other options.

    Here's all you need to reverse proxy to a docker container with caddy, it also includes the CloudFlare ACME DNS plugin so that you can issue certficates with DNS verification.

    sub.domain.com {
      tls {
        dns cloudflare <cloudflare key goes here>
      }
    
      reverse_proxy localhost:8080 {
        header_up X-Real-IP {http.request.header.CF-Connecting-IP}
        header_up X-Forwarded-For {http.request.header.CF-Connecting-IP}
      }
    }
    
  • @tjn said:
    Caddy is so much easier to use and maintain than the rest, I highly recommend it.
    It's also extremely performant.

    The only issue with caddy is installing it is not as straightfroward as the other options.

    Here's all you need to reverse proxy to a docker container with caddy, it also includes the CloudFlare ACME DNS plugin so that you can issue certficates with DNS verification.

    sub.domain.com {
      tls {
        dns cloudflare <cloudflare key goes here>
      }
    
      reverse_proxy localhost:8080 {
        header_up X-Real-IP {http.request.header.CF-Connecting-IP}
        header_up X-Forwarded-For {http.request.header.CF-Connecting-IP}
      }
    }
    

    Thx will try out caddy.
    Right now i was playing around with zoraxy which has, for me, too many options but its also working.

  • caddy is just pain in the ass to configure. i just use nginx (standalone) as a reverse proxy and cloudflare tunnels.

  • @gbzret4d said: what I would like to have is i link subdomain.domain.tld to an docker container running on my server.

    I am currently building LoadMyCode, its a desktop app for app deploys. it uses caddy and docker for all of its automation.

    Zoraxy looks nice too.

    @lowendtalkxdax said: Treafik isn't worth learning if you don't plan on configuring large kubernetes clusters

    You don't need it for k8s too, nginx-ingress pretty much seems to be the standard.

    I'd also like to mention haproxy, don't let their website fool you,

Sign In or Register to comment.